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-4/Overview.bs
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -2350,7 +2350,7 @@ Class selectors</h3>
2350
2350
The <dfn export>class selector</dfn> is given as a full stop (. U+002E) immediately
2351
2351
followed by an identifier. It represents an element belonging to the
2352
2352
class identified by the identifier, as defined by the document language.
2353
-
For example, in [[HTML5]], [[SVG11]], and [[MATHML]] membership in a
2353
+
For example, in [[HTML]], [[SVG11]], and [[MATHML]] membership in a
2354
2354
class is given by the <code>class</code> attribute: in these languages
2355
2355
it is equivalent to the <code>~=</code> notation applied to the
2356
2356
local <code>class</code> attribute
@@ -2516,7 +2516,7 @@ The Directionality Pseudo-class: '':dir()''</h3>
2516
2516
The <dfn id='dir-pseudo'>:dir()</dfn> pseudo-class allows the author to write
2517
2517
selectors that represent an element based on its directionality
2518
2518
as determined by the <a>document language</a>.
2519
-
For example, [[HTML5]] defines <a href="https://html.spec.whatwg.org/multipage/dom.html#the-directionality">how to determine the directionality of an element</a>,
2519
+
For example, [[HTML]] defines <a href="https://html.spec.whatwg.org/multipage/dom.html#the-directionality">how to determine the directionality of an element</a>,
2520
2520
based on a combination of the <code>dir</code> attribute, the surrounding text, and other factors.
2521
2521
As another example, the <code>its:dir</code> and <code>dirRule</code> element
2522
2522
of the Internationalization Tag Set [[ITS20]]
@@ -2547,7 +2547,7 @@ The Directionality Pseudo-class: '':dir()''</h3>
2547
2547
attribute. As another example, in HTML,
2548
2548
an element that matches ''[dir=auto]'' will match either
2549
2549
'':dir(ltr)'' or '':dir(rtl)'' depending on the resolved
2550
-
directionality of the elements as determined by its contents. [[HTML5]]
2550
+
directionality of the elements as determined by its contents. [[HTML]]
2551
2551
2552
2552
2553
2553
<h3 id="the-lang-pseudo">
@@ -2647,7 +2647,7 @@ The Language Pseudo-class: '':lang()''</h3>
2647
2647
2648
2648
Note: The <a>content language</a> of an element is defined by the document language.
2649
2649
2650
-
For example, in HTML [[HTML5]], the <a>content language</a> is determined
2650
+
For example, in HTML [[HTML]], the <a>content language</a> is determined
2651
2651
by a combination of the <code>lang</code> attribute,
2652
2652
information from <a element>meta</a> elements,
2653
2653
and possibly also the protocol (e.g. from HTTP headers).
@@ -2774,7 +2774,7 @@ The Hyperlink Pseudo-class: '':any-link''</h3>
2774
2774
2775
2775
The <dfn id='any-link-pseudo'>:any-link</dfn> pseudo-class represents an element
2776
2776
that acts as the source anchor of a hyperlink.
2777
-
For example, in [[HTML5]],
2777
+
For example, in [[HTML]],
2778
2778
any <{a}> or <{area}> elements with an <{a/href}> attribute are hyperlinks,
2779
2779
and thus match <code>:any-link</code>.
2780
2780
It matches an element if the element would match either '':link'' or '':visited'',
@@ -3018,7 +3018,7 @@ The Pointer Hover Pseudo-class: '':hover''</h3>
3018
3018
matches the above conditions.
3019
3019
3020
3020
Document languages may define additional ways in which an element can match '':hover''.
3021
-
For example, [[HTML5]] defines a labeled control element as <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-hover">matching <code>:hover</code></a>
3021
+
For example, [[HTML]] defines a labeled control element as <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-hover">matching <code>:hover</code></a>
3022
3022
when its <a element>label</a> is hovered.
3023
3023
3024
3024
Note: Since the '':hover'' state can apply to an element
@@ -3041,7 +3041,7 @@ The Activation Pseudo-class: '':active''</h3>
3041
3041
e.g. between the time the user presses the primary mouse button and releases it,
specific conditions for HTML elements to be activated
3047
3047
</a>.
@@ -3465,7 +3465,7 @@ The '':enabled'' and '':disabled'' Pseudo-classes</h4>
3465
3465
What constitutes an enabled state, a disabled state, and a user interface
3466
3466
element is host-language-dependent. In a typical document most elements will be
3467
3467
neither '':enabled'' nor '':disabled''.
3468
-
For example, [[HTML5]] defines <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-enabled">non-disabled interactive elements</a> to be '':enabled'',
3468
+
For example, [[HTML]] defines <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-enabled">non-disabled interactive elements</a> to be '':enabled'',
3469
3469
and any such elements that are <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-enabled">explicitly disabled</a> to be '':disabled''.
3470
3470
3471
3471
Note: CSS properties that might affect a user’s ability
@@ -3486,7 +3486,7 @@ The Mutability Pseudo-classes: '':read-only'' and '':read-write''</h4>
3486
3486
as defined by the document language.
3487
3487
Otherwise, it is <dfn id="read-only-pseudo">:read-only</dfn>.
3488
3488
3489
-
For example, in [[HTML5]] a <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-read-only">non-disabled non-readonly <code><input></code> element</a> is '':read-write'',
3489
+
For example, in [[HTML]] a <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-read-only">non-disabled non-readonly <code><input></code> element</a> is '':read-write'',
3490
3490
as is any element with the <code>contenteditable</code> attribute set to the true state.
@@ -3503,7 +3503,7 @@ The Placeholder-shown Pseudo-class: '':placeholder-shown''</h4>
3503
3503
3504
3504
Input elements can sometimes show placeholder text
3505
3505
as a hint to the user on what to type in.
3506
-
See, for example, the <code>placeholder</code> attribute in [[HTML5]].
3506
+
See, for example, the <code>placeholder</code> attribute in [[HTML]].
3507
3507
The <dfn id="placeholder-shown-pseudo">:placeholder-shown</dfn> pseudo-class
3508
3508
matches an input element that is showing such placeholder text,
3509
3509
whether that text is given by an attribute or a real element,
@@ -3534,7 +3534,7 @@ The Default-option Pseudo-class: '':default''</h4>
3534
3534
One example is the default submit button among a set of buttons.
3535
3535
Another example is the default option from a popup menu.
3536
3536
In a select-many group (such as for pizza toppings), multiple elements can match '':default''.
3537
-
For example, [[HTML5]] defines that '':default'' matches
3537
+
For example, [[HTML]] defines that '':default'' matches
3538
3538
<a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-default">the “default button” in a form,
3539
3539
the initially-selected <code><option></code>(s) in a <code><select></code>,
3540
3540
and a few other elements.</a>
@@ -3552,7 +3552,7 @@ The Selected-option Pseudo-classes: '':checked'', '':unchecked'', and '':indeter
3552
3552
3553
3553
When such elements are toggled “on”
3554
3554
the <dfn id='checked-pseudo'>:checked</dfn> pseudo-class applies.
3555
-
For example, [[HTML5]] defines that <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-checked">checked checkboxes, radio buttons, and selected <code><option></code> elements</a> match '':checked''.
3555
+
For example, [[HTML]] defines that <a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-checked">checked checkboxes, radio buttons, and selected <code><option></code> elements</a> match '':checked''.
3556
3556
Similarly, when such elements are toggled “off”,
3557
3557
the <dfn id='unchecked-pseudo'>:unchecked</dfn> pseudo-class applies.
3558
3558
@@ -3598,7 +3598,7 @@ The Selected-option Pseudo-classes: '':checked'', '':unchecked'', and '':indeter
3598
3598
While the [=input value pseudo-classes=] are dynamic in nature,
3599
3599
and can altered by user action,
3600
3600
since they can also be based on the presence of semantic attributes in the document
3601
-
(such as the <code>selected</code> and <code>checked</code> attributes in [[HTML5]]),
3601
+
(such as the <code>selected</code> and <code>checked</code> attributes in [[HTML]]),
3602
3602
they apply to all media.
3603
3603
3604
3604
@@ -3612,7 +3612,7 @@ The Validity Pseudo-classes: '':valid'' and '':invalid''</h4>
3612
3612
or <dfn id="invalid-pseudo">:invalid</dfn>
3613
3613
when its contents or value is, respectively,
3614
3614
valid or invalid with respect to data validity semantics defined by the document language
3615
-
(e.g. [[XFORMS11]] or [[HTML5]]).
3615
+
(e.g. [[XFORMS11]] or [[HTML]]).
3616
3616
An element which lacks data validity semantics is neither '':valid'' nor '':invalid''.
3617
3617
3618
3618
Note: There is a difference between an element which has no constraints,
0 commit comments