Skip to content

Commit cd4bb35

Browse files
committed
Make escapes in strings work the same as everywhere else.
--HG-- extra : rebase_source : f1f9db4b1a0b30b2db20bdaa8ccc9df61717b50c
1 parent 11ba9ad commit cd4bb35

2 files changed

Lines changed: 23 additions & 27 deletions

File tree

css3-syntax/Overview.html

Lines changed: 15 additions & 17 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 17 April 2012</h2>
39+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 20 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-20120417/">http://www.w3.org/TR/2012/ED-cssN-FIXME-20120417/</a>
45+
href="http://www.w3.org/TR/2012/ED-cssN-FIXME-20120420/">http://www.w3.org/TR/2012/ED-cssN-FIXME-20120420/</a>
4646

4747

4848
<dt>Latest version:
@@ -782,9 +782,9 @@ <h4 id=double-quote-string-state><span class=secno>3.4.4. </span> <dfn
782782
character</i></a> is a <a href="#newline"><i>newline</i></a>, consume
783783
it. Remain in this state.
784784

785-
<p> Otherwise, consume the <a href="#next-input-character"><i>next input
786-
character</i></a> and append it to the string token's value. Remain in
787-
this state.
785+
<p> Otherwise, <a href="#consume-an-escaped-character0"><i>consume an
786+
escaped character</i></a>. Append the returned character to the string
787+
token's value. Remain in this state.
788788

789789
<dt>anything else
790790

@@ -829,9 +829,9 @@ <h4 id=single-quote-string-state><span class=secno>3.4.5. </span> <dfn
829829
character</i></a> is a <a href="#newline"><i>newline</i></a>, consume
830830
it. Remain in this state.
831831

832-
<p> Otherwise, consume the <a href="#next-input-character"><i>next input
833-
character</i></a> and append it to the string token's value. Remain in
834-
this state.
832+
<p> Otherwise, <a href="#consume-an-escaped-character0"><i>consume an
833+
escaped character</i></a>. Append the returned character to the string
834+
token's value. Remain in this state.
835835

836836
<dt>anything else
837837

@@ -1570,10 +1570,9 @@ <h4 id=url-double-quote-state><span class=secno>3.4.20. </span> <dfn
15701570
character</i></a> is a <a href="#newline"><i>newline</i></a>, consume it
15711571
and remain in this state.
15721572

1573-
<p> Otherwise, consume the <a href="#next-input-character"><i>next input
1574-
character</i></a>. Append the <a
1575-
href="#current-input-character"><i>current input character</i></a> to
1576-
the url token&rsquo;s value. Remain in this state.
1573+
<p> Otherwise, <a href="#consume-an-escaped-character0"><i>consume an
1574+
escaped character</i></a>. Append the returned character to the url
1575+
token&rsquo;s value. Remain in this state.
15771576

15781577
<dt>anything else
15791578

@@ -1611,10 +1610,9 @@ <h4 id=url-single-quote-state><span class=secno>3.4.21. </span> <dfn
16111610
character</i></a> is a <a href="#newline"><i>newline</i></a>, consume it
16121611
and remain in this state.
16131612

1614-
<p> Otherwise, consume the <a href="#next-input-character"><i>next input
1615-
character</i></a>. Append the <a
1616-
href="#current-input-character"><i>current input character</i></a> to
1617-
the url token&rsquo;s value. Remain in this state.
1613+
<p> Otherwise, <a href="#consume-an-escaped-character0"><i>consume an
1614+
escaped character</i></a>. Append the returned character to the url
1615+
token&rsquo;s value. Remain in this state.
16181616

16191617
<dt>anything else
16201618

@@ -2293,7 +2291,7 @@ <h2 class=no-num id=property-index> Property index</h2>
22932291
<table class=proptable>
22942292
<thead>
22952293
<tr>
2296-
<th>Property
2294+
<th>properties
22972295

22982296
<th>Values
22992297

css3-syntax/Overview.src.html

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,8 @@ <h4>
630630

631631
<p>
632632
Otherwise,
633-
consume the <i>next input character</i>
634-
and append it to the string token's value.
633+
<i>consume an escaped character</i>.
634+
Append the returned character to the string token's value.
635635
Remain in this state.
636636

637637
<dt>anything else
@@ -690,8 +690,8 @@ <h4>
690690

691691
<p>
692692
Otherwise,
693-
consume the <i>next input character</i>
694-
and append it to the string token's value.
693+
<i>consume an escaped character</i>.
694+
Append the returned character to the string token's value.
695695
Remain in this state.
696696

697697
<dt>anything else
@@ -1567,9 +1567,8 @@ <h4>
15671567

15681568
<p>
15691569
Otherwise,
1570-
consume the <i>next input character</i>.
1571-
Append the <i>current input character</i>
1572-
to the url token's value.
1570+
<i>consume an escaped character</i>.
1571+
Append the returned character to the url token's value.
15731572
Remain in this state.
15741573

15751574
<dt>anything else
@@ -1617,9 +1616,8 @@ <h4>
16171616

16181617
<p>
16191618
Otherwise,
1620-
consume the <i>next input character</i>.
1621-
Append the <i>current input character</i>
1622-
to the url token's value.
1619+
<i>consume an escaped character</i>.
1620+
Append the returned character to the url token's value.
16231621
Remain in this state.
16241622

16251623
<dt>anything else

0 commit comments

Comments
 (0)