@@ -756,7 +756,13 @@ Selecting Highlighted Content: the ''::selection'', ''::search-text'', ''::targe
756
756
expressible with the [=highlight pseudo-elements=] ,
757
757
this pseudo-element is optional to implement.
758
758
759
- Issue(10527): How to identify the current match?
759
+ The '':current'' [=pseudo-class=] (but not ''::current()'' )
760
+ may be combined with ''::search-text''
761
+ to represent the currently focused match instance.
762
+ The '':past'' and '':future'' [=pseudo-classes=] are reserved
763
+ for analogous use in the future.
764
+ Any unsupported combination of these pseudo-classes with ''::search-text''
765
+ <em> must</em> be treated as invalid.
760
766
761
767
<dt> <dfn>::target-text</dfn>
762
768
<dd>
@@ -1880,9 +1886,11 @@ Changes</h2>
1880
1886
<a href="https://github.com/w3c/csswg-drafts/issues/11317">11317</a> )
1881
1887
<li> Defined ''::highlight()'' and improved cross-referencing to [[CSS-HIGHLIGHT-API-1]] .
1882
1888
(Issue <a href="https://github.com/w3c/csswg-drafts/issues/6755">6755</a> )
1883
- <li> Added ''::search-text'' as a new [=highlight pseudo-element=] .
1889
+ <li> Added ''::search-text'' as a new [=highlight pseudo-element=] ,
1890
+ and allowed it to combine with '':current'' .
1884
1891
(Issues <a href="https://github.com/w3c/csswg-drafts/issues/10212">10212</a>
1885
- and <a href="https://github.com/w3c/csswg-drafts/issues/10213">10213</a> )
1892
+ <a href="https://github.com/w3c/csswg-drafts/issues/10213">10213</a> ,
1893
+ and <a href="https://github.com/w3c/csswg-drafts/issues/10298">10298</a> )
1886
1894
<li> Added ''::details-content'' pseudo-element
1887
1895
(<a href="https://github.com/w3c/csswg-drafts/pull/10379">Issue 10379</a> )
1888
1896
<li> Allow space and no-break space to be part of ''::first-letter''
0 commit comments