Skip to content

Commit dd41f83

Browse files
committed
Remove the *-match tokens. We need to handle more *-match types introduced by Selectors anyway, and these can just be handled in the tree-builder with a single token of lookahead.
--HG-- extra : rebase_source : d2f495a1a08622226e3551eeb4f83fab571c5b88
1 parent af818c7 commit dd41f83

2 files changed

Lines changed: 3 additions & 45 deletions

File tree

css3-syntax/Overview.html

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636

3737
<h1>CSS Syntax Module Level 3</h1>
3838

39-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 April 2012</h2>
39+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 April 2012</h2>
4040

4141
<dl>
4242
<dt>This version:
4343

4444
<dd><a class=replaceme
45-
href="http://www.w3.org/TR/2012/ED-cssN-FIXME-20120414/">http://www.w3.org/TR/2012/ED-cssN-FIXME-20120414/</a>
45+
href="http://www.w3.org/TR/2012/ED-cssN-FIXME-20120416/">http://www.w3.org/TR/2012/ED-cssN-FIXME-20120416/</a>
4646

4747

4848
<dt>Latest version:
@@ -687,26 +687,10 @@ <h4 id=data-state><span class=secno>3.4.3. </span> <dfn id=data-state0>Data
687687

688688
<dd> Emit an open-brace token. Remain in this state.
689689

690-
<dt>U+007C VERTICAL LINE (|)
691-
692-
<dd> If the <a href="#next-input-character"><i>next input
693-
character</i></a> is U+003D EQUALS SIGN (=), emit a dash-match token.
694-
Remain in this state.
695-
<p> Otherwise, emit a delim token with its value set to U+007C VERTICAL
696-
LINE (|). Remain in this state.
697-
698690
<dt>U+007D RIGHT CURLY BRACKET (})
699691

700692
<dd> Emit a close-brace token. Remain in this state.
701693

702-
<dt>U+007E TILDE (~)
703-
704-
<dd> If the <a href="#next-input-character"><i>next input
705-
character</i></a> is U+003D EQUALS SIGN (=), emit an includes-match
706-
token. Remain in this state.
707-
<p> Otherwise, emit a delim token with its value set to U+007E TILDE (~).
708-
Remain in this state.
709-
710694
<dt><a href="#digit"><i>digit</i></a>
711695

712696
<dd> Switch to the <a href="#number-state0"><i>number state</i></a>.

css3-syntax/Overview.src.html

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -533,37 +533,11 @@ <h4>
533533
Emit an open-brace token.
534534
Remain in this state.
535535

536-
<dt>U+007C VERTICAL LINE (|)
537-
<dd>
538-
If the <i>next input character</i> is
539-
U+003D EQUALS SIGN (=),
540-
emit a dash-match token.
541-
Remain in this state.
542-
543-
<p>
544-
Otherwise,
545-
emit a delim token
546-
with its value set to U+007C VERTICAL LINE (|).
547-
Remain in this state.
548-
549536
<dt>U+007D RIGHT CURLY BRACKET (})
550537
<dd>
551538
Emit a close-brace token.
552539
Remain in this state.
553540

554-
<dt>U+007E TILDE (~)
555-
<dd>
556-
If the <i>next input character</i> is
557-
U+003D EQUALS SIGN (=),
558-
emit an includes-match token.
559-
Remain in this state.
560-
561-
<p>
562-
Otherwise,
563-
emit a delim token
564-
with its value set to U+007E TILDE (~).
565-
Remain in this state.
566-
567541
<dt><i>digit</i>
568542
<dd>
569543
Switch to the <i>number state</i>.
@@ -1874,7 +1848,7 @@ <h3>
18741848

18751849
<p>
18761850
The input to the tree construction stage is a sequence of tokens from the tokenization stage.
1877-
1851+
18781852

18791853
<!--
18801854

0 commit comments

Comments
 (0)