DescriptionImplement ShadowRoot.delegatesFocus 3/4 (Slide focus on focus() method)
This Implements sliding focus from shadow host to
inner element of its shadow root on focus().
When delegatesFocus is set to true for a shadow root
and its host gets focus() from script, the shadow host
delegates focus to its internal focusable element.
This depends on previous CLs.
https://codereview.chromium.org/1174893002/
https://codereview.chromium.org/1174933002/
Remaining CL:
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-method-with-delegatesFocus.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196927
Patch Set 1 #Patch Set 2 : minor fix #Patch Set 3 : rebase #
Messages
Total messages: 10 (4 generated)
|
|||||||||||||||||||||||||||||||||||||