@@ -1295,6 +1295,7 @@ <h2><a name="toc">Full Table of Contents</a></h2>
12951295 <li class="tocline3"><a href="changes.html#q543" class="tocxref">C.8.49 6.1.2 Computed values</a>
12961296 <li class="tocline3"><a href="changes.html#q544" class="tocxref">C.8.50 10.3.2 Inline, replaced elements</a>
12971297 <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>
1298+ <li class="tocline3"><a href="changes.html#q546" class="tocxref">C.8.52 G.2 Lexical scanner</a>
12981299 </ul>
12991300 </ul>
13001301 <li class="tocline1"><a href="sample.html" class="tocxref">Appendix D. Default style sheet for HTML 4</a>
@@ -9110,7 +9111,7 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
91109111
91119112<p>Computing the clearance of an element on which 'clear' is set is
91129113done by first determining the hypothetical position of the element's
9113- top border edge within its parent block . This position is
9114+ top border edge. This position is
91149115where the actual top border edge would have been if the element
91159116had a non-zero bottom border and its 'clear' property had been 'none'.
91169117
@@ -10024,7 +10025,7 @@ <h2>9.10 <a name="direction">Text direction:</a>
1002410025<dl>
1002510026<dt><strong>normal</strong></dt>
1002610027<dd>The element does not open an additional level of embedding with
10027- respect to the bidirectional algorithm. For inline-level elements,
10028+ respect to the bidirectional algorithm. For inline elements,
1002810029implicit reordering works across element boundaries.
1002910030</dd>
1003010031<dt><strong>embed</strong></dt>
@@ -10543,6 +10544,10 @@ <h3>10.3.2 <a name="inline-replaced-width">Inline, replaced elements</a></h3>
1054310544have computed values of 'auto' and the element has an intrinsic ratio
1054410545but no intrinsic height or width, then the used value of 'width' is
1054510546undefined in CSS 2.1.
10547+ However, it is suggested that, if the containing block's width
10548+ does not itself depend on the replaced element's width, then the used
10549+ value of 'width' is calculated from the constraint equation used for
10550+ block-level, non-replaced elements in normal flow.
1054610551
1054710552<p>Otherwise, if <a href="visudet.html#propdef-width" class="noxref"><span class="propinst-width">'width'</span></a> has a
1054810553computed value of 'auto', and the element has an intrinsic width, then
@@ -11501,7 +11506,7 @@ <h2>10.7 <a name="min-max-heights">Minimum and maximum heights</a>: <a href="vis
1150111506</p>
1150211507
1150311508<p>In CSS 2.1, the effect of 'min-height' and 'max-height' on
11504- table cells, table rows, and row groups is undefined.
11509+ tables, inline tables, table cells, table rows, and row groups is undefined.
1150511510
1150611511<p>The following algorithm describes how the two properties influence
1150711512the <a href="cascade.html#computed-value">used value</a>
@@ -20404,6 +20409,7 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
2040420409 <li class="tocline3"><a href="changes.html#q543" class="tocxref">C.8.49 6.1.2 Computed values</a>
2040520410 <li class="tocline3"><a href="changes.html#q544" class="tocxref">C.8.50 10.3.2 Inline, replaced elements</a>
2040620411 <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>
20412+ <li class="tocline3"><a href="changes.html#q546" class="tocxref">C.8.52 G.2 Lexical scanner</a>
2040720413 </ul>
2040820414 </ul>
2040920415</div>
@@ -25518,8 +25524,8 @@ <h3 id="t.9.10"><a name="q435">C.7.46 </a><a
2551825524<dd>For inline<del>-level</del> elements this creates an override.
2551925525For <del>block-level, table-cell, table-caption, or
2552025526inline-block</del> <ins>block container</ins> elements this creates an
25521- override for inline-level descendants not within another block-level,
25522- table-cell, table-caption, or inline-block element. This means that
25527+ override for inline-level descendants not within another block container
25528+ element. This means that
2552325529inside the element, reordering is strictly in sequence according to
2552425530the 'direction' property; the implicit part of the bidirectional
2552525531algorithm is ignored. This corresponds to adding a LRO (U+202D; for
@@ -25718,7 +25724,7 @@ <h3 id="t.10.7"><a name="q445">C.7.56 </a><a
2571825724
2571925725<blockquote>
2572025726<p><ins>In CSS 2.1, the effect of 'min-height' and 'max-height'
25721- on table cells, table rows, and row groups is undefined.</ins>
25727+ on tables, inline tables, table cells, table rows, and row groups is undefined.</ins>
2572225728</blockquote>
2572325729
2572425730
@@ -27957,11 +27963,12 @@ <h3 id=u.10.3.2a><a name="q544">C.8.50 </a><a
2795727963<blockquote>
2795827964<p>If 'height' and 'width' both have computed values of 'auto' and the
2795927965element has an intrinsic ratio but no intrinsic height or width,
27960- <del>and the containing block's width does not itself depend on the
27966+ <del>and</del> <ins>then the used value of 'width' is
27967+ undefined in CSS 2.1. However, it is suggested that, if</ins>
27968+ the containing block's width does not itself depend on the
2796127969replaced element's width, then the used value of 'width' is calculated
2796227970from the constraint equation used for block-level, non-replaced
27963- elements in normal flow</del> <ins>then the used value of 'width' is
27964- undefined in CSS 2.1</ins>.
27971+ elements in normal flow.
2796527972</blockquote>
2796627973
2796727974
@@ -28008,6 +28015,24 @@ <h3 id="t.9.5.2d"><a name="q545">C.8.51 </a><a
2800828015
2800928016
2801028017
28018+ <h3 id="t.G.2"><a name="q546">C.8.52 </a><a
28019+ href="/TR/2009/CR-CSS2-20090908/grammar.html#scanner">G.2 Lexical
28020+ scanner</a></h3>
28021+
28022+ <p>The tokenizer in the appendix allowed backslashes in the URI token,
28023+ in contradiction with the same token in the core grammar and the error
28024+ recovery token {baduri}:
28025+
28026+ <blockquote>
28027+ <pre>
28028+ <del>{U}{R}{L}"("{w}{string}{w}")" {return URI;}</del>
28029+ <del>{U}{R}{L}"("{w}{url}{w}")" {return URI;}</del>
28030+ <ins>"url("{w}{string}{w}")" {return URI;}</ins>
28031+ <ins>"url("{w}{url}{w}")" {return URI;}</ins>
28032+ </pre>
28033+ </blockquote>
28034+
28035+
2801128036<hr class="navbar">
2801228037
2801328038
@@ -29370,7 +29395,7 @@ <h2>G.2 <a name="scanner">Lexical scanner</a></h2>
2937029395%option case-insensitive
2937129396
2937229397h [0-9a-f]
29373- nonascii [\200 -\377]
29398+ nonascii [\240 -\377]
2937429399unicode \\{h}{1,6}(\r\n|[ \t\r\n\f])?
2937529400escape {unicode}|\\[^\r\n\f0-9a-f]
2937629401nmstart [_a-z]|{nonascii}|{escape}
@@ -29463,9 +29488,9 @@ <h2>G.2 <a name="scanner">Lexical scanner</a></h2>
2946329488{num}% {return PERCENTAGE;}
2946429489{num} {return NUMBER;}
2946529490
29466- {U}{R}{L}" ("{w}{string}{w}")" {return URI;}
29467- {U}{R}{L}" ("{w}{url}{w}")" {return URI;}
29468- {baduri} {return BAD_URI;}
29491+ "url ("{w}{string}{w}")" {return URI;}
29492+ "url ("{w}{url}{w}")" {return URI;}
29493+ {baduri} {return BAD_URI;}
2946929494
2947029495{ident}"(" {return FUNCTION;}
2947129496
0 commit comments