diff --git a/source b/source index 671c65b7a5b..52fdf3f969f 100644 --- a/source +++ b/source @@ -3175,7 +3175,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
HTMLCollection
interfaceHTMLCollection.length
attribute:focus
For the purposes of the CSS :focus
- pseudo-class, an element has the focus when its top-level browsing
- context has the system focus, it is not itself a browsing context container,
- and it is one of the elements listed in the focus chain of the currently focused area of the
- top-level browsing context.
its top-level browsing context has the system focus;
it is not itself a browsing context container; and
at least one of the following is true:
+it is one of the elements listed in the focus chain of the currently focused area of + the top-level browsing context, or
its shadow root + shadowRoot is not null and shadowRoot is the root of at + least one element that has the focus.
:target