Skip to content

Commit 45dbb15

Browse files
committed
[selectors-4] Changed HTML5 references to HTML LS
1 parent c2f4c82 commit 45dbb15

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

selectors-4/Overview.bs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2350,7 +2350,7 @@ Class selectors</h3>
23502350
The <dfn export>class selector</dfn> is given as a full stop (. U+002E) immediately
23512351
followed by an identifier. It represents an element belonging to the
23522352
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
23542354
class is given by the <code>class</code> attribute: in these languages
23552355
it is equivalent to the <code>~=</code> notation applied to the
23562356
local <code>class</code> attribute
@@ -2516,7 +2516,7 @@ The Directionality Pseudo-class: '':dir()''</h3>
25162516
The <dfn id='dir-pseudo'>:dir()</dfn> pseudo-class allows the author to write
25172517
selectors that represent an element based on its directionality
25182518
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>,
25202520
based on a combination of the <code>dir</code> attribute, the surrounding text, and other factors.
25212521
As another example, the <code>its:dir</code> and <code>dirRule</code> element
25222522
of the Internationalization Tag Set [[ITS20]]
@@ -2547,7 +2547,7 @@ The Directionality Pseudo-class: '':dir()''</h3>
25472547
attribute. As another example, in HTML,
25482548
an element that matches ''[dir=auto]'' will match either
25492549
'':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]]
25512551

25522552

25532553
<h3 id="the-lang-pseudo">
@@ -2647,7 +2647,7 @@ The Language Pseudo-class: '':lang()''</h3>
26472647

26482648
Note: The <a>content language</a> of an element is defined by the document language.
26492649

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
26512651
by a combination of the <code>lang</code> attribute,
26522652
information from <a element>meta</a> elements,
26532653
and possibly also the protocol (e.g. from HTTP headers).
@@ -2774,7 +2774,7 @@ The Hyperlink Pseudo-class: '':any-link''</h3>
27742774

27752775
The <dfn id='any-link-pseudo'>:any-link</dfn> pseudo-class represents an element
27762776
that acts as the source anchor of a hyperlink.
2777-
For example, in [[HTML5]],
2777+
For example, in [[HTML]],
27782778
any <{a}> or <{area}> elements with an <{a/href}> attribute are hyperlinks,
27792779
and thus match <code>:any-link</code>.
27802780
It matches an element if the element would match either '':link'' or '':visited'',
@@ -3018,7 +3018,7 @@ The Pointer Hover Pseudo-class: '':hover''</h3>
30183018
matches the above conditions.
30193019

30203020
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>
30223022
when its <a element>label</a> is hovered.
30233023

30243024
Note: Since the '':hover'' state can apply to an element
@@ -3041,7 +3041,7 @@ The Activation Pseudo-class: '':active''</h3>
30413041
e.g. between the time the user presses the primary mouse button and releases it,
30423042
or while a finger is pressing on a touchscreen.
30433043

3044-
Note: [[HTML5]] defines
3044+
Note: [[HTML]] defines
30453045
<a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-active">
30463046
specific conditions for HTML elements to be activated
30473047
</a>.
@@ -3465,7 +3465,7 @@ The '':enabled'' and '':disabled'' Pseudo-classes</h4>
34653465
What constitutes an enabled state, a disabled state, and a user interface
34663466
element is host-language-dependent. In a typical document most elements will be
34673467
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'',
34693469
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''.
34703470

34713471
Note: CSS properties that might affect a user’s ability
@@ -3486,7 +3486,7 @@ The Mutability Pseudo-classes: '':read-only'' and '':read-write''</h4>
34863486
as defined by the document language.
34873487
Otherwise, it is <dfn id="read-only-pseudo">:read-only</dfn>.
34883488

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>&lt;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>&lt;input></code> element</a> is '':read-write'',
34903490
as is any element with the <code>contenteditable</code> attribute set to the true state.
34913491

34923492
<h4 id="placeholder" caniuse="css-placeholder-shown">
@@ -3503,7 +3503,7 @@ The Placeholder-shown Pseudo-class: '':placeholder-shown''</h4>
35033503

35043504
Input elements can sometimes show placeholder text
35053505
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]].
35073507
The <dfn id="placeholder-shown-pseudo">:placeholder-shown</dfn> pseudo-class
35083508
matches an input element that is showing such placeholder text,
35093509
whether that text is given by an attribute or a real element,
@@ -3534,7 +3534,7 @@ The Default-option Pseudo-class: '':default''</h4>
35343534
One example is the default submit button among a set of buttons.
35353535
Another example is the default option from a popup menu.
35363536
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
35383538
<a href="https://html.spec.whatwg.org/multipage/semantics-other.html#selector-default">the “default button” in a form,
35393539
the initially-selected <code>&lt;option></code>(s) in a <code>&lt;select></code>,
35403540
and a few other elements.</a>
@@ -3552,7 +3552,7 @@ The Selected-option Pseudo-classes: '':checked'', '':unchecked'', and '':indeter
35523552

35533553
When such elements are toggled “on”
35543554
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>&lt;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>&lt;option></code> elements</a> match '':checked''.
35563556
Similarly, when such elements are toggled “off”,
35573557
the <dfn id='unchecked-pseudo'>:unchecked</dfn> pseudo-class applies.
35583558

@@ -3598,7 +3598,7 @@ The Selected-option Pseudo-classes: '':checked'', '':unchecked'', and '':indeter
35983598
While the [=input value pseudo-classes=] are dynamic in nature,
35993599
and can altered by user action,
36003600
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]]),
36023602
they apply to all media.
36033603

36043604

@@ -3612,7 +3612,7 @@ The Validity Pseudo-classes: '':valid'' and '':invalid''</h4>
36123612
or <dfn id="invalid-pseudo">:invalid</dfn>
36133613
when its contents or value is, respectively,
36143614
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]]).
36163616
An element which lacks data validity semantics is neither '':valid'' nor '':invalid''.
36173617

36183618
Note: There is a difference between an element which has no constraints,

0 commit comments

Comments
 (0)