Skip to content

Commit fe5e6b5

Browse files
committed
[selectors][editorial] Make the Title-casing match in all pseudo-class headings
1 parent b9dd286 commit fe5e6b5

2 files changed

Lines changed: 97 additions & 97 deletions

File tree

selectors/Overview.bs

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ Selector Lists</h3>
12191219
</div>
12201220

12211221
<h3 id="matches">
1222-
The Matches-Any Pseudo-class: '':matches()''</h3>
1222+
The Matches-any Pseudo-class: '':matches()''</h3>
12231223

12241224
The matches-any pseudo-class, <dfn id='matches-pseudo'>:matches()</dfn>,
12251225
is a functional pseudo-class taking a <a>selector list</a>
@@ -1866,7 +1866,7 @@ ID selectors</h3>
18661866
Linguistic Pseudo-classes</h2>
18671867

18681868
<h3 id="the-dir-pseudo">
1869-
The directionality pseudo-class '':dir()''</h3>
1869+
The Directionality Pseudo-class: '':dir()''</h3>
18701870

18711871
The <dfn id='dir-pseudo'>:dir()</dfn> pseudo-class allows the author to write
18721872
selectors that represent an element based on its directionality as
@@ -1901,7 +1901,7 @@ The directionality pseudo-class '':dir()''</h3>
19011901
directionality of the elements as determined by its contents. [[HTML5]]
19021902

19031903
<h3 id="the-lang-pseudo">
1904-
The language pseudo-class '':lang()''</h3>
1904+
The Language Pseudo-class: '':lang()''</h3>
19051905

19061906
If the document language specifies how the (human) content language of an
19071907
element is determined, it is possible to write selectors that
@@ -1997,7 +1997,7 @@ The language pseudo-class '':lang()''</h3>
19971997
Location Pseudo-classes</h2>
19981998

19991999
<h3 id="the-any-link-pseudo">
2000-
The hyperlink pseudo-class: '':any-link''</h3>
2000+
The Hyperlink Pseudo-class: '':any-link''</h3>
20012001

20022002
The <dfn id='any-link-pseudo'>:any-link</dfn> pseudo-class represents an element
20032003
that acts as the source anchor of a hyperlink.
@@ -2010,7 +2010,7 @@ The hyperlink pseudo-class: '':any-link''</h3>
20102010
<p class="issue">Any better name suggestions for this pseudo?
20112011

20122012
<h3 id="link">
2013-
The link history pseudo-classes: '':link'' and '':visited''</h3>
2013+
The Link History Pseudo-classes: '':link'' and '':visited''</h3>
20142014

20152015
User agents commonly display unvisited <a href="#the-any-link-pseudo">hyperlinks</a> differently from
20162016
previously visited ones. Selectors
@@ -2046,7 +2046,7 @@ The link history pseudo-classes: '':link'' and '':visited''</h3>
20462046

20472047

20482048
<h3 id="the-target-pseudo">
2049-
The target pseudo-class '':target''</h3>
2049+
The Target Pseudo-class: '':target''</h3>
20502050

20512051
Some URLs refer to a location within a resource. This kind of URL
20522052
ends with a &quot;number sign&quot; (#) followed by an anchor
@@ -2085,7 +2085,7 @@ The target pseudo-class '':target''</h3>
20852085

20862086

20872087
<h3 id="the-scope-pseudo">
2088-
The reference element pseudo-class '':scope''</h3>
2088+
The Reference Element Pseudo-class: '':scope''</h3>
20892089

20902090
In some contexts, selectors can be matched with an explicit set of <dfn dfn export title=":scope element">:scope elements</dfn>.
20912091
This is is a (potentially empty) set of elements
@@ -2140,7 +2140,7 @@ User Action Pseudo-classes</h2>
21402140
but will be in the future.
21412141

21422142
<h3 id="the-hover-pseudo">
2143-
The pointer hover pseudo-class '':hover''</h3>
2143+
The Pointer Hover Pseudo-class: '':hover''</h3>
21442144

21452145
The <dfn id='hover-pseudo'>:hover</dfn> pseudo-class applies
21462146
while the user designates an element with a pointing device,
@@ -2168,7 +2168,7 @@ The pointer hover pseudo-class '':hover''</h3>
21682168
The '':hover'' pseudo-class can apply to any pseudo-element.
21692169

21702170
<h3 id="the-active-pseudo">
2171-
The activation pseudo-class '':active''</h3>
2171+
The Activation Pseudo-class: '':active''</h3>
21722172

21732173
The <dfn id='active-pseudo'>:active</dfn> pseudo-class applies while an element
21742174
is being activated by the user. For example, between the times the
@@ -2192,7 +2192,7 @@ The activation pseudo-class '':active''</h3>
21922192
':visited' and ':active' (or ':link' and ':active').
21932193

21942194
<h3 id="the-focus-pseudo">
2195-
The input focus pseudo-class '':focus''</h3>
2195+
The Input Focus Pseudo-class: '':focus''</h3>
21962196

21972197
The <dfn id='focus-pseudo'>:focus</dfn> pseudo-class applies while an element
21982198
has the focus (accepts keyboard or mouse events, or other forms of
@@ -2207,7 +2207,7 @@ The input focus pseudo-class '':focus''</h3>
22072207
except that the parent of an element that matches '':focus'' must not match '':focus''.
22082208

22092209
<h3 id="the-focus-within-pseudo">
2210-
The Generalized Input Focus Pseudo-Class: '':focus-within''</h3>
2210+
The Generalized Input Focus Pseudo-class: '':focus-within''</h3>
22112211

22122212
The <dfn id='focus-within-pseudo'>:focus-within</dfn> pseudo-class applies to elements for which the '':focus'' pseudo class applies.
22132213
Additionaly, the parent of an element that matches '':focus-within'' also matches '':focus-within''.
@@ -2216,7 +2216,7 @@ The Generalized Input Focus Pseudo-Class: '':focus-within''</h3>
22162216
the <a>host element</a> (and its parents) are also in the '':focus-within'' state. (See [[css-scoping-1]])
22172217

22182218
<h3 id="drag-pseudos">
2219-
The drag-and-drop pseudo-class '':drop'' and '':drop()''</h3>
2219+
The Drag-and-Drop Pseudo-class: '':drop'' and '':drop()''</h3>
22202220

22212221
The <dfn>:drop</dfn> pseudo-class applies to all elements
22222222
that are drop targets,
@@ -2280,7 +2280,7 @@ Time-dimensional Pseudo-classes</h2>
22802280
these pseudo-classes must not match the element.
22812281

22822282
<h3 id="the-current-pseudo">
2283-
The current-element pseudo-class '':current''</h3>
2283+
The Current-element Pseudo-class: '':current''</h3>
22842284

22852285
The <dfn id='current-pseudo'>:current</dfn> pseudo-class represents the
22862286
element, or an ancestor of the element, that is currently being displayed.
@@ -2304,7 +2304,7 @@ The current-element pseudo-class '':current''</h3>
23042304
</div>
23052305

23062306
<h3 id="the-past-pseudo">
2307-
The past-element pseudo-class '':past''</h3>
2307+
The Past-element Pseudo-class: '':past''</h3>
23082308

23092309
The <dfn id='past-pseudo'>:past</dfn> pseudo-class represents any element that is
23102310
defined to occur entirely prior to a '':current'' element.
@@ -2314,7 +2314,7 @@ The past-element pseudo-class '':past''</h3>
23142314
sibling of a '':current'' element.
23152315

23162316
<h3 id="the-future-pseudo">
2317-
The future-element pseudo-class '':future''</h3>
2317+
The Future-element Pseudo-class: '':future''</h3>
23182318

23192319
The <dfn id='future-pseudo'>:future</dfn> pseudo-class represents any element that is
23202320
defined to occur entirely after a '':current'' element.
@@ -2334,7 +2334,7 @@ The Input Pseudo-classes</h2>
23342334
Input Control States</h3>
23352335

23362336
<h4 id="enableddisabled">
2337-
The '':enabled'' and '':disabled'' pseudo-classes</h4>
2337+
The '':enabled'' and '':disabled'' Pseudo-classes</h4>
23382338

23392339
The <dfn id='enabled-pseudo'>:enabled</dfn> pseudo-class represents user interface elements
23402340
that are in an enabled state; such elements have a corresponding disabled
@@ -2357,7 +2357,7 @@ The '':enabled'' and '':disabled'' pseudo-classes</h4>
23572357
on the enabled/disabled state of an element.
23582358

23592359
<h4 id="rw-pseudos">
2360-
The mutability pseudo-classes '':read-only'' and '':read-write''</h4>
2360+
The Mutability Pseudo-classes: '':read-only'' and '':read-write''</h4>
23612361

23622362
An element matches <dfn id="read-write-pseudo">:read-write</dfn> if it is user-alterable,
23632363
as defined by the host language.
@@ -2367,7 +2367,7 @@ The mutability pseudo-classes '':read-only'' and '':read-write''</h4>
23672367
as is any element with the <code>contenteditable</code> attribute set to the true state.
23682368

23692369
<h4 id="placeholder">
2370-
The placeholder-shown pseudo-class '':placeholder-shown''</h4>
2370+
The Placeholder-shown Pseudo-class: '':placeholder-shown''</h4>
23712371

23722372
Input elements can sometimes show placeholder text
23732373
as a hint to the user on what to type in.
@@ -2376,7 +2376,7 @@ The placeholder-shown pseudo-class '':placeholder-shown''</h4>
23762376
matches an input element that is showing such placeholder text.
23772377

23782378
<h4 id="the-default-pseudo">
2379-
The default-option pseudo-class '':default''</h4>
2379+
The Default-option Pseudo-class: '':default''</h4>
23802380

23812381
The <dfn id='default-pseudo'>:default</dfn> pseudo-class applies to the one or more UI elements
23822382
that are the default among a set of similar elements. Typically applies to
@@ -2394,7 +2394,7 @@ The default-option pseudo-class '':default''</h4>
23942394
Input Value States</h3>
23952395

23962396
<h4 id="checked">
2397-
The selected-option pseudo-class '':checked''</h4>
2397+
The Selected-option Pseudo-class: '':checked''</h4>
23982398

23992399
Radio and checkbox elements can be toggled by the user. Some menu
24002400
items are "checked" when the user selects them. When such elements are
@@ -2415,7 +2415,7 @@ The selected-option pseudo-class '':checked''</h4>
24152415
</div>
24162416

24172417
<h4 id="indeterminate">
2418-
The indeterminate-value pseudo-class '':indeterminate''</h4>
2418+
The Indeterminate-value Pseudo-class: '':indeterminate''</h4>
24192419

24202420
The <dfn id='indetermine-pseudo'>:indeterminate</dfn> pseudo-class applies to UI elements whose
24212421
value is in an indeterminate state.
@@ -2433,7 +2433,7 @@ The indeterminate-value pseudo-class '':indeterminate''</h4>
24332433
Input Value-checking</h3>
24342434

24352435
<h4 id="validity-pseudos">
2436-
The validity pseudo-classes: '':valid'' and '':invalid''</h4>
2436+
The Validity Pseudo-classes: '':valid'' and '':invalid''</h4>
24372437

24382438
An element is <dfn id="valid-pseudo">:valid</dfn>
24392439
or <dfn id="invalid-pseudo">:invalid</dfn>
@@ -2451,7 +2451,7 @@ The validity pseudo-classes: '':valid'' and '':invalid''</h4>
24512451
and so it never matches either of these pseudo-classes.
24522452

24532453
<h4 id="range-pseudos">
2454-
The range pseudo-classes '':in-range'' and '':out-of-range''</h4>
2454+
The Range Pseudo-classes: '':in-range'' and '':out-of-range''</h4>
24552455

24562456
The <dfn id="in-range-pseudo">:in-range</dfn> and
24572457
<dfn id="out-of-range-pseudo">:out-of-range</dfn> pseudo-classes
@@ -2467,7 +2467,7 @@ The range pseudo-classes '':in-range'' and '':out-of-range''</h4>
24672467
presented in a popup menu that only has choices "A", "B" and "C".
24682468

24692469
<h4 id="opt-pseudos">
2470-
The optionality pseudo-classes '':required'' and '':optional''</h4>
2470+
The Optionality Pseudo-classes: '':required'' and '':optional''</h4>
24712471

24722472
A form element is <dfn id="required-pseudo">:required</dfn> or
24732473
<dfn id="optional-pseudo">:optional</dfn>
@@ -2476,7 +2476,7 @@ The optionality pseudo-classes '':required'' and '':optional''</h4>
24762476
form elements are neither required nor optional.
24772477

24782478
<h4 id="user-pseudos">
2479-
The user-interaction pseudo-class '':user-error''</h4>
2479+
The User-interaction Pseudo-class: '':user-error''</h4>
24802480

24812481
The <dfn id="user-error-pseudo">:user-error</dfn> pseudo-class
24822482
represents an input element with incorrect input, but only

0 commit comments

Comments
 (0)