Skip to content

Commit 66b4e80

Browse files
committed
[selectors] Add some dfns.
1 parent 08b6a12 commit 66b4e80

2 files changed

Lines changed: 53 additions & 51 deletions

File tree

selectors/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,7 +2275,7 @@ The current-element pseudo-class '':current''</h3>
22752275
The <dfn id='current-pseudo'>:current</dfn> pseudo-class represents the
22762276
element, or an ancestor of the element, that is currently being displayed.
22772277

2278-
Its alternate form '':current()'', like '':matches()'',
2278+
Its alternate form <dfn>:current()</dfn>, like '':matches()'',
22792279
takes a list of <a>compound selectors</a> as its argument: it represents the
22802280
'':current'' element that matches the argument or, if that does
22812281
not match, the innermost ancestor of the '':current'' element
@@ -2296,7 +2296,7 @@ The current-element pseudo-class '':current''</h3>
22962296
<h3 id="the-past-pseudo">
22972297
The past-element pseudo-class '':past''</h3>
22982298

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
23002300
defined to occur entirely prior to a '':current'' element.
23012301
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>.
23022302
If a time-based order of elements is not defined by the document language,

0 commit comments

Comments
 (0)