Skip to content

Commit e92971a

Browse files
committed
[selectors-4] Fix recursion in :target-within definition. w3c#3938
1 parent 0591857 commit e92971a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

selectors-4/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,10 +2143,10 @@ The Target Pseudo-class: '':target''</h3>
21432143
The Target Container Pseudo-class: '':target-within''</h3>
21442144

21452145
The <dfn id='target-within-pseudo'>:target-within</dfn> pseudo-class
2146-
applies to elements for which the '':target'' pseudo class applies
2147-
as well as to an element whose descendant in the <a>flat tree</a>
2146+
applies to any element to which the '':target'' pseudo class applies
2147+
as well as to any element whose descendant in the <a>flat tree</a>
21482148
(including non-element nodes, such as text nodes)
2149-
matches the conditions for matching '':target-within''.
2149+
matches the conditions for matching '':target''.
21502150

21512151
<h3 id="the-scope-pseudo">
21522152
The Reference Element Pseudo-class: '':scope''</h3>

0 commit comments

Comments
 (0)