Skip to content

Commit 177fc30

Browse files
committed
Remove the Selectors-specific tokens, per WG resolution.
1 parent 8414515 commit 177fc30

1 file changed

Lines changed: 2 additions & 110 deletions

File tree

css-syntax/Overview.bs

Lines changed: 2 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -441,12 +441,6 @@ Tokenization</h2>
441441
<dfn>&lt;number-token></dfn>,
442442
<dfn>&lt;percentage-token></dfn>,
443443
<dfn>&lt;dimension-token></dfn>,
444-
<dfn>&lt;include-match-token></dfn>,
445-
<dfn>&lt;dash-match-token></dfn>,
446-
<dfn>&lt;prefix-match-token></dfn>,
447-
<dfn>&lt;suffix-match-token></dfn>,
448-
<dfn>&lt;substring-match-token></dfn>,
449-
<dfn>&lt;column-token></dfn>,
450444
<dfn>&lt;whitespace-token></dfn>,
451445
<dfn>&lt;CDO-token></dfn>,
452446
<dfn>&lt;CDC-token></dfn>,
@@ -702,42 +696,6 @@ Token Railroad Diagrams</h3>
702696
T: %
703697
</pre>
704698

705-
<dt id="include-match-token-diagram"><<include-match-token>>
706-
<dd>
707-
<pre class='railroad'>
708-
T: ~=
709-
</pre>
710-
711-
<dt id="dash-match-token-diagram"><<dash-match-token>>
712-
<dd>
713-
<pre class='railroad'>
714-
T: |=
715-
</pre>
716-
717-
<dt id="prefix-match-token-diagram"><<prefix-match-token>>
718-
<dd>
719-
<pre class='railroad'>
720-
T: ^=
721-
</pre>
722-
723-
<dt id="suffix-match-token-diagram"><<suffix-match-token>>
724-
<dd>
725-
<pre class='railroad'>
726-
T: $=
727-
</pre>
728-
729-
<dt id="substring-match-token-diagram"><<substring-match-token>>
730-
<dd>
731-
<pre class='railroad'>
732-
T: *=
733-
</pre>
734-
735-
<dt id="column-token-diagram"><<column-token>>
736-
<dd>
737-
<pre class='railroad'>
738-
T: ||
739-
</pre>
740-
741699
<dt id="CDO-token-diagram"><<CDO-token>>
742700
<dd>
743701
<pre class='railroad'>
@@ -929,17 +887,6 @@ Consume a token</h4>
929887
return a <<delim-token>>
930888
with its value set to the <a>current input code point</a>.
931889

932-
<dt>U+0024 DOLLAR SIGN ($)
933-
<dd>
934-
If the <a>next input code point</a> is
935-
U+003D EQUALS SIGN (=),
936-
consume it
937-
and return a <<suffix-match-token>>.
938-
939-
Otherwise,
940-
emit a <<delim-token>>
941-
with its value set to the <a>current input code point</a>.
942-
943890
<dt>U+0027 APOSTROPHE (&apos;)
944891
<dd>
945892
<a>Consume a string token</a>
@@ -953,17 +900,6 @@ Consume a token</h4>
953900
<dd>
954901
Return a <a href="#tokendef-close-paren">&lt;)-token></a>.
955902

956-
<dt>U+002A ASTERISK (*)
957-
<dd>
958-
If the <a>next input code point</a> is
959-
U+003D EQUALS SIGN (=),
960-
consume it
961-
and return a <<substring-match-token>>.
962-
963-
Otherwise,
964-
return a <<delim-token>>
965-
with its value set to the <a>current input code point</a>.
966-
967903
<dt>U+002B PLUS SIGN (+)
968904
<dd>
969905
If the input stream <a>starts with a number</a>,
@@ -1069,17 +1005,6 @@ Consume a token</h4>
10691005
<dd>
10701006
Return a <a href="#tokendef-close-square">&lt;]-token></a>.
10711007

1072-
<dt>U+005E CIRCUMFLEX ACCENT (^)
1073-
<dd>
1074-
If the <a>next input code point</a> is
1075-
U+003D EQUALS SIGN (=),
1076-
consume it
1077-
and return a <<prefix-match-token>>.
1078-
1079-
Otherwise,
1080-
return a <<delim-token>>
1081-
with its value set to the <a>current input code point</a>.
1082-
10831008
<dt>U+007B LEFT CURLY BRACKET ({)
10841009
<dd>
10851010
Return a <a href="#tokendef-open-curly">&lt;{-token></a>.
@@ -1100,34 +1025,6 @@ Consume a token</h4>
11001025
<a>consume an ident-like token</a>,
11011026
and return it.
11021027

1103-
<dt>U+007C VERTICAL LINE (|)
1104-
<dd>
1105-
If the <a>next input code point</a> is
1106-
U+003D EQUALS SIGN (=),
1107-
consume it
1108-
and return a <<dash-match-token>>.
1109-
1110-
Otherwise,
1111-
if the <a>next input code point</a> is
1112-
U+007C VERTICAL LINE (|),
1113-
consume it
1114-
and return a <<column-token>>.
1115-
1116-
Otherwise,
1117-
return a <<delim-token>>
1118-
with its value set to the <a>current input code point</a>.
1119-
1120-
<dt>U+007E TILDE (~)
1121-
<dd>
1122-
If the <a>next input code point</a> is
1123-
U+003D EQUALS SIGN (=),
1124-
consume it
1125-
and return an <<include-match-token>>.
1126-
1127-
Otherwise,
1128-
return a <<delim-token>>
1129-
with its value set to the <a>current input code point</a>.
1130-
11311028
<dt>EOF
11321029
<dd>
11331030
Return an <<EOF-token>>.
@@ -3515,6 +3412,8 @@ Changes from the 20 February 2014 Candidate Recommendation</h3>
35153412

35163413
* Added the <<declaration-value>> and <<any-value>> productions.
35173414

3415+
* Removed the Selectors-specific tokens, per WG resolution.
3416+
35183417

35193418
<h3 id="changes-WD-20131105">
35203419
Changes from the 5 November 2013 Last Call Working Draft</h3>
@@ -3620,9 +3519,6 @@ Changes from CSS 2.1 and Selectors Level 3</h3>
36203519
and emit normal <<string-token>> and <<url-token>> rather than BAD_STRING or BAD_URI
36213520
on EOF.
36223521

3623-
<li>
3624-
<<prefix-match-token>>, <<suffix-match-token>>, and <<substring-match-token>> have been imported from Selectors 3.
3625-
36263522
<li>
36273523
The BAD_URI token (now <<bad-url-token>>) is "self-contained".
36283524
In other words, once the tokenizer realizes it's in a <<bad-url-token>> rather than a <<url-token>>,
@@ -3646,10 +3542,6 @@ Changes from CSS 2.1 and Selectors Level 3</h3>
36463542
Scientific notation is supported for numbers/percentages/dimensions to match SVG,
36473543
per WG resolution.
36483544

3649-
<li>
3650-
<<column-token>> has been added,
3651-
to keep Selectors parsing in single-token lookahead.
3652-
36533545
<li>
36543546
Hexadecimal escape for <a>surrogate code points</a> now emit a replacement character rather than the surrogate.
36553547
This allows implementations to safely use UTF-16 internally.

0 commit comments

Comments
 (0)