Skip to content

Commit f4c2a01

Browse files
committed
[selectors] Added a note about how at most one time-dimensional pseudo matches at a time.
1 parent 9ed0020 commit f4c2a01

2 files changed

Lines changed: 60 additions & 52 deletions

File tree

selectors/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,6 +2279,10 @@ Time-dimensional Pseudo-classes</h2>
22792279
If there is no timeline defined for an element,
22802280
these pseudo-classes must not match the element.
22812281

2282+
Note: Ancestors of a '':current'' element are also '':current'',
2283+
but ancestors of a '':past'' or '':future'' element are not necessarily '':past'' or '':future'' as well.
2284+
A given element matches at most one of '':current'', '':past'', or '':future''.
2285+
22822286
<h3 id="the-current-pseudo">
22832287
The Current-element Pseudo-class: '':current''</h3>
22842288

0 commit comments

Comments
 (0)