diff --git a/spec/shadow/index.html b/spec/shadow/index.html index 36ad7c42..b809237c 100644 --- a/spec/shadow/index.html +++ b/spec/shadow/index.html @@ -1136,6 +1136,20 @@
The getSelection()
method of the shadow root object returns the current selection in this shadow tree.
A shadow host can delegate focus to its shadow root by assigning a boolean delegatesFocus flag to be true in ShadowRootInit dictionary. If omitted, a shadow host does not delegate focus to its shadow root, and the shadow host itself can be focusable.
+When a shadow host HOST delegates focus, user agent must behave as follows. +
focus()
method or autofocus
attribute: The first focusable area in focus navigation order of HOST's shadow root's focus navigation scope gets focus. See the next section for the formal definition of the ordering.:focus
pseudo-class applies to HOST in addition to the focused element itself.:focus
pseudo-class applies to HOST, and HOST is in a shadow root of another shadow host HOST2 which also delegates focus, :focus
pseudo-class applies to HOST2 as well.ShadowRootInit
dictionary