DescriptionSet selection to INPUT/TEXTAREA before dispatching 'focus' event.
This CL moves updateFocusAppearance() call from Element::focus() to
Document::setFocusedElement() so that 'focus' event handler can refer to correct
selection information.
The last updateLayoutIgnorePendingStylesheets() call in Element::focus is
unnecessary now. Because this CL removes it,
textfield-to-password-on-focus.html needs a delay to pour key inputs.
BUG=526516
Committed: https://crrev.com/d76505b8d68f4fffd18620d9ab1b4d19c467ec4c
Cr-Commit-Position: refs/heads/master@{#360545}
Patch Set 1 : #
Total comments: 3
Patch Set 2 : improve selection-functions.html #
Messages
Total messages: 20 (4 generated)
|