Chromium Code Reviews
DescriptionUpdate selection when an element is focused by in-document fragment link.
Navigating to INPUT/TEXTAREA element by <a href="#foo"> sets focus on the
INPUT/TEXTAREA element, but text selection was not set correctly and users were
unable to input.
We should not call Document::setFocusedElement, which doesn't update text
selection. Use Element::focus instead.
BUG=466571
Committed: https://crrev.com/7913e160229b4567595aaefbeb8a806ba7d342e7
Cr-Commit-Position: refs/heads/master@{#359413}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||||||||||||||||||||