File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -586,6 +586,7 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
586586 < li class ="tocline3 "> < a href ="changes.html#q543 " class ="tocxref "> C.8.49 6.1.2 Computed values</ a >
587587 < li class ="tocline3 "> < a href ="changes.html#q544 " class ="tocxref "> C.8.50 10.3.2 Inline, replaced elements</ a >
588588 < li class ="tocline3 "> < a href ="changes.html#q545 " class ="tocxref "> C.8.51 Section 9.5.2 Controlling flow next to floats: the 'clear' property</ a >
589+ < li class ="tocline3 "> < a href ="changes.html#q546 " class ="tocxref "> C.8.52 G.2 Lexical scanner</ a >
589590 </ ul >
590591 </ ul >
591592</ div >
@@ -8191,6 +8192,24 @@ <h3 id="t.9.5.2d"><a name="q545">C.8.51 </a><a
81918192
81928193
81938194
8195+ < h3 id ="t.G.2 "> < a name ="q546 "> C.8.52 </ a > < a
8196+ href ="/TR/2009/CR-CSS2-20090908/grammar.html#scanner "> G.2 Lexical
8197+ scanner</ a > </ h3 >
8198+
8199+ < p > The tokenizer in the appendix allowed backslashes in the URI token,
8200+ in contradiction with the same token in the core grammar and the error
8201+ recovery token {baduri}:
8202+
8203+ < blockquote >
8204+ < pre >
8205+ < del > {U}{R}{L}"("{w}{string}{w}")" {return URI;}</ del >
8206+ < del > {U}{R}{L}"("{w}{url}{w}")" {return URI;}</ del >
8207+ < ins > "url("{w}{string}{w}")" {return URI;}</ ins >
8208+ < ins > "url("{w}{url}{w}")" {return URI;}</ ins >
8209+ </ pre >
8210+ </ blockquote >
8211+
8212+
81948213< hr class ="navbar ">
81958214
81968215< div class ="navbar ">
Original file line number Diff line number Diff line change @@ -1300,6 +1300,7 @@ <h2><a name="toc">Full Table of Contents</a></h2>
13001300 < li class ="tocline3 "> < a href ="changes.html#q543 " class ="tocxref "> C.8.49 6.1.2 Computed values</ a >
13011301 < li class ="tocline3 "> < a href ="changes.html#q544 " class ="tocxref "> C.8.50 10.3.2 Inline, replaced elements</ a >
13021302 < li class ="tocline3 "> < a href ="changes.html#q545 " class ="tocxref "> C.8.51 Section 9.5.2 Controlling flow next to floats: the 'clear' property</ a >
1303+ < li class ="tocline3 "> < a href ="changes.html#q546 " class ="tocxref "> C.8.52 G.2 Lexical scanner</ a >
13031304 </ ul >
13041305 </ ul >
13051306 < li class ="tocline1 "> < a href ="sample.html " class ="tocxref "> Appendix D. Default style sheet for HTML 4</ a >
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -267,9 +267,9 @@ <h2> <del>D.2</del><ins>G.2</ins> <a name="scanner">Lexical scanner</a></h2>
267267{num}% {return PERCENTAGE;}
268268{num} {return NUMBER;}
269269
270- < del > "url("{w}{string}{w}")"</ del > < ins > {U}{R}{L}"("{w}{string}{w}")" </ ins > {return URI;}
271- < del > "url("{w}{url}{w}")"</ del > < ins > {U}{R}{L}"("{w}{url}{w}")" </ ins > {return URI;}
272- < ins > {baduri} {return BAD_URI;}</ ins >
270+ "url("{w}{string}{w}")" {return URI;}
271+ "url("{w}{url}{w}")" {return URI;}
272+ < ins > {baduri} {return BAD_URI;}</ ins >
273273
274274{ident}"(" {return FUNCTION;}
275275
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -1300,6 +1300,7 @@ <h2><a name="toc">Full Table of Contents</a></h2>
13001300 < li class ="tocline3 "> < a href ="changes.html#q543 " class ="tocxref "> < ins > C.8.49 6.1.2 Computed values</ ins > </ a >
13011301 < li class ="tocline3 "> < a href ="changes.html#q544 " class ="tocxref "> < ins > C.8.50 10.3.2 Inline, replaced elements</ ins > </ a >
13021302 < li class ="tocline3 "> < a href ="changes.html#q545 " class ="tocxref "> < ins > C.8.51 Section 9.5.2 Controlling flow next to floats: the 'clear' property</ ins > </ a >
1303+ < li class ="tocline3 "> < a href ="changes.html#q546 " class ="tocxref "> < ins > C.8.52 G.2 Lexical scanner</ ins > </ a >
13031304 </ ul >
13041305 </ ul >
13051306 < li class ="tocline1 "> < a href ="sample.html " class ="tocxref "> Appendix D. Default style sheet for HTML 4</ a >
Original file line number Diff line number Diff line change @@ -267,9 +267,9 @@ <h2>G.2 <a name="scanner">Lexical scanner</a></h2>
267267{num}% {return PERCENTAGE;}
268268{num} {return NUMBER;}
269269
270- {U}{R}{L}"("{w}{string}{w}")" {return URI;}
271- {U}{R}{L}"("{w}{url}{w}")" {return URI;}
272- {baduri} {return < del > BAD_URI);}</ del > < ins > BAD_URI;}</ ins >
270+ < del > {U}{R}{L}"("{w}{string}{w}")"</ del > < ins > "url("{w}{string}{w}")" </ ins > {return URI;}
271+ < del > {U}{R}{L}"("{w}{url}{w}")"</ del > < ins > "url("{w}{url}{w}")" </ ins > {return URI;}
272+ {baduri} {return < del > BAD_URI);}</ del > < ins > BAD_URI;}</ ins >
273273
274274{ident}"(" {return FUNCTION;}
275275
Original file line number Diff line number Diff line change @@ -267,9 +267,9 @@ <h2>G.2 <a name="scanner">Lexical scanner</a></h2>
267267{num}% {return PERCENTAGE;}
268268{num} {return NUMBER;}
269269
270- {U}{R}{L}" ("{w}{string}{w}")" {return URI;}
271- {U}{R}{L}" ("{w}{url}{w}")" {return URI;}
272- {baduri} {return BAD_URI;}
270+ "url ("{w}{string}{w}")" {return URI;}
271+ "url ("{w}{url}{w}")" {return URI;}
272+ {baduri} {return BAD_URI;}
273273
274274{ident}"(" {return FUNCTION;}
275275
You can’t perform that action at this time.
0 commit comments