File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,11 @@ Selectors Overview</h2>
242
242
<td> an E element being the target of the referring URL
243
243
<td> [[#the-target-pseudo]]
244
244
<td> 3
245
+ <tr>
246
+ <td><code> E:target-within</code>
247
+ <td> an E element that is the target of the referring URL or contains an element that does.
248
+ <td> [[#the-target-within-pseudo]]
249
+ <td> 4
245
250
<tr>
246
251
<td><code> E:scope</code>
247
252
<td> an E element being a designated reference element
@@ -1971,6 +1976,15 @@ The Target Pseudo-class: '':target''</h3>
1971
1976
</pre>
1972
1977
</div>
1973
1978
1979
+ <h3 id="the-target-within-pseudo">
1980
+ The Generalized Target Pseudo-class: '':target-within''</h3>
1981
+
1982
+ The <dfn id='target-within-pseudo'>:target-within</dfn> pseudo-class applies to elements for which the '':target'' pseudo class applies.
1983
+
1984
+ An element also matches '':target-within''
1985
+ if one of its descendants in the <a>flat tree</a>
1986
+ (including non-element nodes, such as text nodes)
1987
+ matches the conditions for matching '':target'' .
1974
1988
1975
1989
<h3 id="the-scope-pseudo">
1976
1990
The Reference Element Pseudo-class: '':scope''</h3>
You can’t perform that action at this time.
0 commit comments