File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -2035,12 +2035,15 @@ The Input Focus Pseudo-class: '':focus''</h3>
20352035 (accepts keyboard or mouse events, or other forms of input).
20362036
20372037 There may be document language or implementation specific limits on
2038- which elements can acquire '':focus'' .
2039- For example, [[HTML5]] defines a <a href="http://www.whatwg.org/html/selectors.html#selector-active">list of activatable elements</a> .
2040-
2041- If the document language has defined additional ways by which an element can match '':active'' ,
2042- the same ways must apply to elements matching '':focus'' as well,
2043- except that the parent of an element that matches '':focus'' must not match '':focus'' .
2038+ which elements can acquire :focus.
2039+ For example, [[HTML]] defines a list of <a href="https://html.spec.whatwg.org/multipage/interaction.html#focusable-area">focusable areas</a> .
2040+
2041+ Document languages may define additional ways in which an element can match '':focus'' ,
2042+ except that the '':focus'' pseudo class must not automatically propagate to the parent element
2043+ (see '':focus-within'' if matching on the parent is desired).
2044+ Note: it may still apply to the parent element
2045+ if made to propagate due to other mechanisms,
2046+ but not merely due to being the parent.
20442047
20452048<h3 id="the-focusring-pseudo">
20462049The Input Focus-Ring Pseudo-class: '':focus-ring''</h3>
You can’t perform that action at this time.
0 commit comments