Bug 1680951 - Do not scroll when calling select() r=masayuki
This is intended to be a hotfix for the URL bar regression. Ideally there should be a spec or this behavior should be removed completely. Previously select() scrolled back to the start position before the regression, but this fix does not restore that behavior. Differential Revision: https://phabricator.services.mozilla.com/D98972
This commit is contained in:
@@ -143,7 +143,7 @@ void HTMLTextAreaElement::Select() {
|
||||
}
|
||||
|
||||
SetSelectionRange(0, UINT32_MAX, mozilla::dom::Optional<nsAString>(),
|
||||
IgnoredErrorResult());
|
||||
IgnoreErrors());
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user