DescriptionImplement ShadowRoot.delegatesFocus 1/4 (focus navigation)
This Implements 'delegatesFocus' for ShadowRoot.
When delegatesFocus is set to true for a shadow root, its shadow host
delegates focusing behavior to its internal focusable element.
Note: this almost corresponds to old implementation (tabStop), except
that when delegatesFocus = true, the shadow host becomes focusable
regardless of whether tabindex attribute is set or not.
Remaining implementations will follow:
2/4 Slide focus on mouse click
3/4 Slide focus on focus() method
4/4 Match CSS :focus for shadow host
Design doc:
https://docs.google.com/document/d/1k93Ez6yNSyWQDtGjdJJqTBPmljk9l2WS3JTe5OHHB50/edit
BUG=496005
TEST=fast/dom/shadow/focus-navigation-with-delegatesFocus.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196919
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 2
Patch Set 3 : fix for nit review comment #Messages
Total messages: 27 (12 generated)
|