DescriptionAdd WebDocument::focusedElement.
WebDocument::focusedNode should be focusedElement.
DOM, HTML, SVG specifications assume only elements can be focused.
Blink exposes focusedNode api and returns WebNode casting from Element*.
This change would make a cleaner API and expose focused
WebElement which is more rich than WebNode.
BUG=258763
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167657
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|