Bug 1680798 - Assign forward selection in Select() before bug 1541454 r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D98823
This commit is contained in:
@@ -3048,8 +3048,10 @@ void HTMLInputElement::Select() {
|
||||
|
||||
// Directly call TextControlState::SetSelectionRange because
|
||||
// HTMLInputElement::SetSelectionRange only applies to fewer types
|
||||
// TODO(krosylight): This should pass eNone per the spec, but we don't support
|
||||
// it yet. See bug 1541454.
|
||||
state->SetSelectionRange(0, UINT32_MAX,
|
||||
nsITextControlFrame::SelectionDirection::eNone,
|
||||
nsITextControlFrame::SelectionDirection::eForward,
|
||||
IgnoredErrorResult());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user