diff --git a/spec/shadow/index.html b/spec/shadow/index.html index 9b1d5f7a..54f078e3 100644 --- a/spec/shadow/index.html +++ b/spec/shadow/index.html @@ -1116,6 +1116,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 the tree order in HOST's shadow tree gets focus.: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