You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: selectors/Overview.bs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2275,7 +2275,7 @@ The current-element pseudo-class '':current''</h3>
2275
2275
The <dfn id='current-pseudo'>:current</dfn> pseudo-class represents the
2276
2276
element, or an ancestor of the element, that is currently being displayed.
2277
2277
2278
-
Its alternate form '':current()'', like '':matches()'',
2278
+
Its alternate form <dfn>:current()</dfn>, like '':matches()'',
2279
2279
takes a list of <a>compound selectors</a> as its argument: it represents the
2280
2280
'':current'' element that matches the argument or, if that does
2281
2281
not match, the innermost ancestor of the '':current'' element
@@ -2296,7 +2296,7 @@ The current-element pseudo-class '':current''</h3>
2296
2296
<h3 id="the-past-pseudo">
2297
2297
The past-element pseudo-class '':past''</h3>
2298
2298
2299
-
The '':past'' pseudo-class represents any element that is
2299
+
The <dfn id='past-pseudo'>:past</dfn> pseudo-class represents any element that is
2300
2300
defined to occur entirely prior to a '':current'' element.
2301
2301
For example, the WebVTT spec defines the '':past'' pseudo-class <a href="http://dev.w3.org/html5/webvtt/#the-past-and-future-pseudo-classes">relative to the current playback position of a media element</a>.
2302
2302
If a time-based order of elements is not defined by the document language,
0 commit comments