Skip to content

Commit

Permalink
[selectors-4] Don't mention :is(), since we dont' want to imply forgi…
Browse files Browse the repository at this point in the history
…vingness. #10298
  • Loading branch information
tabatkins committed Jan 29, 2025
1 parent 33ba8d9 commit 4fe363f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions selectors-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2500,12 +2500,12 @@ The Current-element Pseudo-class: '':current''</h3>
The <dfn id='current-pseudo'>:current</dfn> pseudo-class represents the
element, or an ancestor of the element, that is currently being displayed.

Its alternate form <dfn>:current()</dfn>, like '':is()'',
takes a list of <a>compound selectors</a> as its argument: it represents the
'':current'' element that matches the argument or, if that does
not match, the innermost ancestor of the '':current'' element
that does. (If neither the '':current'' element nor its ancestors
match the argument, then the selector does not represent anything.)
Its alternate form <dfn>:current()</dfn>
takes a list of <a>compound selectors</a> as its argument:
it represents the '':current'' element that matches the argument
or, if that does not match,
the innermost ancestor of the '':current'' element that does.
(If neither the '':current'' element nor its ancestors match the argument, then the selector does not represent anything.)

<div class="example">
For example, the following rule will highlight whichever paragraph
Expand Down

0 comments on commit 4fe363f

Please sign in to comment.