@@ -271,11 +271,6 @@ Selectors Overview</h2>
271
271
<td> an E element being the target of the current URL
272
272
<td> [[#the-target-pseudo]]
273
273
<td> 3
274
- <tr>
275
- <td><code> E:target-within</code>
276
- <td> an E element that is the target of the current URL or contains an element that does.
277
- <td> [[#the-target-within-pseudo]]
278
- <td> 4
279
274
<tr>
280
275
<td><code> E:scope</code>
281
276
<td> an E element being a [=scoping root=]
@@ -2231,7 +2226,7 @@ The Local Link Pseudo-class: '':local-link''</h3>
2231
2226
markup instructions such as <code> <meta http-equiv="..."></code> ,
2232
2227
or scripting instructions <!-- such as ? -->).
2233
2228
UAs must ensure that '':local-link'' ,
2234
- as well as the '':target'' and '':target-within'' pseudo-classes below,
2229
+ as well as the '':target'' pseudo-class below,
2235
2230
respond correctly to all such changes in state.
2236
2231
2237
2232
<h3 id="the-target-pseudo">
@@ -2274,14 +2269,11 @@ The Target Pseudo-class: '':target''</h3>
2274
2269
</pre>
2275
2270
</div>
2276
2271
2277
- <h3 id="the-target-within-pseudo">
2278
- The Target Container Pseudo-class: '':target-within''</h3>
2272
+ Note: This specification previously defined a <css> :target-within</css> pseudo-class,
2273
+ analogous to '':focus-within'' .
2274
+ It was removed in favor of '':has(:target)'' ,
2275
+ which should hopefully suffice to solve the same use-cases.
2279
2276
2280
- The <dfn id='target-within-pseudo'>:target-within</dfn> pseudo-class
2281
- applies to any element to which the '':target'' pseudo-class applies
2282
- as well as to any element whose descendant in the <a>flat tree</a>
2283
- (including non-element nodes, such as text nodes)
2284
- matches the conditions for matching '':target'' .
2285
2277
2286
2278
<h3 id="the-scope-pseudo">
2287
2279
The Reference Element Pseudo-class: '':scope''</h3>
0 commit comments