Skip to content

Commit d9a83be

Browse files
committed
[selectors] Change "character" to "code point" in most places.
1 parent 1bbd350 commit d9a83be

2 files changed

Lines changed: 23 additions & 22 deletions

File tree

selectors/Overview.html

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,17 +1700,18 @@ <h3 id=case-sensitive><span class=secno>3.7. </span> Characters and case
17001700
sensitivity of <a href="#language-range"><i>language ranges</i></a> is
17011701
defined in the <a href="#lang-pseudo"><code>:lang()</code></a> section.
17021702

1703-
<p><dfn id=whitespace>White space</dfn> in Selectors consists of the
1704-
characters SPACE (U+0020), TAB (U+0009), LINE FEED (U+000A), CARRIAGE
1705-
RETURN (U+000D), and FORM FEED (U+000C) can occur in whitespace. Other
1706-
space-like characters, such as EM SPACE (U+2003) and IDEOGRAPHIC SPACE
1707-
(U+3000), are never part of white space.
1708-
1709-
<p>Characters in Selectors can be escaped with a backslash according to the
1710-
same <a href="http://www.w3.org/TR/CSS21/syndata.html#characters">escaping
1703+
<p><dfn id=whitespace>White space</dfn> in Selectors consists of the code
1704+
points SPACE (U+0020), TAB (U+0009), LINE FEED (U+000A), CARRIAGE RETURN
1705+
(U+000D), and FORM FEED (U+000C) can occur in whitespace. Other space-like
1706+
code points, such as EM SPACE (U+2003) and IDEOGRAPHIC SPACE (U+3000), are
1707+
never part of white space.
1708+
1709+
<p>Code points in Selectors can be escaped with a backslash according to
1710+
the same <a
1711+
href="http://www.w3.org/TR/CSS21/syndata.html#characters">escaping
17111712
rules</a> as CSS. <a href="#ref-CSS21"
1712-
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> Note that escaping a
1713-
character "cancels out" any special meaning it may have in Selectors. For
1713+
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> Note that escaping a code
1714+
point "cancels out" any special meaning it may have in Selectors. For
17141715
example, the selector ‘<code class=css>#foo>a</code>’ contains a
17151716
combinator, but ‘<code class=css>#foo\>a</code>’ instead selects an
17161717
element with the id <code>foo>a</code>.
@@ -3418,7 +3419,7 @@ <h3 id=the-blank-pseudo><span class=secno>12.3. </span> <a
34183419
<p>The <dfn id=blank-pseudo>:blank</dfn> pseudo-class is like the <a
34193420
href="#empty-pseudo"><code>:empty</code></a> pseudo-class, except that it
34203421
additionally matches elements that only contain <a
3421-
href="http://www.w3.org/TR/css3-text/#white-space-rules">characters
3422+
href="http://www.w3.org/TR/css3-text/#white-space-rules">code points
34223423
affected by whitespace processing</a>. <a href="#ref-CSS3TEXT"
34233424
rel=biblioentry>[CSS3TEXT]<!--{{!CSS3TEXT}}--></a>
34243425

@@ -3957,7 +3958,7 @@ <h3 id=child-combinators><span class=secno>13.2. </span> Child combinator
39573958

39583959
<p>A <dfn id=child-combinator>child combinator</dfn> describes a childhood
39593960
relationship between two elements. A child combinator is made of the
3960-
&quot;greater-than sign&quot; (U+003E, <code>></code>) character and
3961+
&quot;greater-than sign&quot; (U+003E, <code>></code>) code point and
39613962
separates two <a href="#compound"><i>compound selectors</i></a>.
39623963

39633964
<div class=example>
@@ -3988,7 +3989,7 @@ <h3 id=adjacent-sibling-combinators><span class=secno>13.3. </span>
39883989
Next-sibling combinator (<code>+</code>)</h3>
39893990

39903991
<p>The <dfn id=next-sibling-combinator>next-sibling combinator</dfn> is
3991-
made of the &quot;plus sign&quot; (U+002B, <code>+</code>) character that
3992+
made of the &quot;plus sign&quot; (U+002B, <code>+</code>) code point that
39923993
separates two <a href="#compound"><i>compound selectors</i></a>. The
39933994
elements represented by the two <a href="#compound"><i>compound
39943995
selectors</i></a> share the same parent in the document tree and the
@@ -4018,7 +4019,7 @@ <h3 id=general-sibling-combinators><span class=secno>13.4. </span>
40184019

40194020
<p>The <dfn id=following-sibling-combinator>following-sibling
40204021
combinator</dfn> is made of the &quot;tilde&quot; (U+007E, <code>~</code>)
4021-
character that separates two <a href="#compound"><i>compound
4022+
code point that separates two <a href="#compound"><i>compound
40224023
selectors</i></a>. The elements represented by the two <a
40234024
href="#compound"><i>compound selectors</i></a> share the same parent in
40244025
the document tree and the element represented by the first compound

selectors/Overview.src.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -922,14 +922,14 @@ <h3 id="case-sensitive">
922922
Case sensitivity of <i>language ranges</i> is defined in the <code>:lang()</code> section.
923923

924924
<p><dfn id="whitespace">White space</dfn> in Selectors consists of the
925-
characters SPACE (U+0020), TAB (U+0009), LINE FEED (U+000A),
925+
code points SPACE (U+0020), TAB (U+0009), LINE FEED (U+000A),
926926
CARRIAGE RETURN (U+000D), and FORM FEED (U+000C) can occur in whitespace.
927-
Other space-like characters, such as EM SPACE (U+2003) and
927+
Other space-like code points, such as EM SPACE (U+2003) and
928928
IDEOGRAPHIC SPACE (U+3000), are never part of white space.
929929

930-
<p>Characters in Selectors can be escaped with a backslash
930+
<p>Code points in Selectors can be escaped with a backslash
931931
according to the same <a href="http://www.w3.org/TR/CSS21/syndata.html#characters">escaping rules</a> as CSS. [[!CSS21]]
932-
Note that escaping a character "cancels out" any special meaning it may have in Selectors.
932+
Note that escaping a code point "cancels out" any special meaning it may have in Selectors.
933933
For example, the selector ''#foo>a'' contains a combinator,
934934
but ''#foo\>a'' instead selects an element with the id <code>foo>a</code>.
935935

@@ -2389,7 +2389,7 @@ <h3 id='the-blank-pseudo'>
23892389

23902390
<p>The <dfn id='blank-pseudo'>:blank</dfn> pseudo-class is like the <code>:empty</code> pseudo-class,
23912391
except that it additionally matches elements that only contain
2392-
<a href="http://www.w3.org/TR/css3-text/#white-space-rules">characters affected by whitespace processing</a>. [[!CSS3TEXT]]
2392+
<a href="http://www.w3.org/TR/css3-text/#white-space-rules">code points affected by whitespace processing</a>. [[!CSS3TEXT]]
23932393

23942394
<div class='example'>
23952395
<p>For example, the following element matches <code>:blank</code>,
@@ -2828,7 +2828,7 @@ <h3 id="child-combinators">
28282828

28292829
<p>A <dfn>child combinator</dfn> describes a childhood relationship
28302830
between two elements. A child combinator is made of the
2831-
&quot;greater-than sign&quot; (U+003E, <code>></code>) character and
2831+
&quot;greater-than sign&quot; (U+003E, <code>></code>) code point and
28322832
separates two <i>compound selectors</i>.
28332833

28342834

@@ -2856,7 +2856,7 @@ <h3 id="adjacent-sibling-combinators">
28562856
Next-sibling combinator (<code>+</code>)</h3>
28572857

28582858
<p>The <dfn>next-sibling combinator</dfn> is made of the &quot;plus
2859-
sign&quot; (U+002B, <code>+</code>) character that separates two
2859+
sign&quot; (U+002B, <code>+</code>) code point that separates two
28602860
<i>compound selectors</i>.
28612861
The elements represented by the two <i>compound selectors</i>
28622862
share the same parent in the document tree
@@ -2882,7 +2882,7 @@ <h3 id="general-sibling-combinators">
28822882
Following-sibling combinator (<code>~</code>)</h3>
28832883

28842884
<p>The <dfn>following-sibling combinator</dfn> is made of the &quot;tilde&quot;
2885-
(U+007E, <code>~</code>) character that separates two <i>compound selectors</i>.
2885+
(U+007E, <code>~</code>) code point that separates two <i>compound selectors</i>.
28862886
The elements represented by the two <i>compound selectors</i> share
28872887
the same parent in the document tree and the element represented by
28882888
the first compound selector precedes (not necessarily immediately) the element

0 commit comments

Comments
 (0)