@@ -1271,6 +1271,8 @@ <h2><a name="toc">Full Table of Contents</a></h2>
12711271 <li class="tocline3"><a href="changes.html#q504" class="tocxref">C.8.10 8.3.1 Collapsing margins</a>
12721272 <li class="tocline3"><a href="changes.html#q505" class="tocxref">C.8.11 10.8 Line height calculations: the 'line-height' and 'vertical-align' properties</a>
12731273 <li class="tocline3"><a href="changes.html#q506" class="tocxref">C.8.12 10.8.1 Leading and half-leading</a>
1274+ <li class="tocline3"><a href="changes.html#q507" class="tocxref">C.8.13 10.6.1 Inline, non-replaced elements</a>
1275+ <li class="tocline3"><a href="changes.html#q508" class="tocxref">C.8.14 9.5.1 Positioning the float: the 'float' property</a>
12741276 </ul>
12751277 </ul>
12761278 <li class="tocline1"><a href="sample.html" class="tocxref">Appendix D. Default style sheet for HTML 4</a>
@@ -7003,8 +7005,7 @@ <H3>8.3.1 <a name="collapsing-margins">Collapsing margins</a></H3>
70037005margins, the maximum of the absolute values of the negative adjoining
70047006margins is deducted from the maximum of the positive adjoining
70057007margins. If there are no positive margins, the maximum of the
7006- absolute values of the adjoining margins adjoining margins is deducted
7007- from zero.
7008+ absolute values of the adjoining margins is deducted from zero.
70087009
70097010<P ID="collapsed-through">If the top and bottom margins of a box are
70107011adjoining, then it is possible for margins to <a name="x28"><span
@@ -9026,7 +9027,7 @@ <h3>9.5.1 <a name="float-position">Positioning the float:</a> the
90269027<li>The right <a href="box.html#outer-edge">outer edge</a> of a
90279028left-floating box may not be to the right of the left <a
90289029href="box.html#outer-edge">outer edge</a> of any right-floating
9029- box that is to the right of it. Analogous rules hold for
9030+ box that is next to it. Analogous rules hold for
90309031right-floating elements.
90319032</li>
90329033<li>A floating box's <a href="box.html#outer-edge">outer top</a>
@@ -9794,7 +9795,7 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
97949795 <dt><strong>auto</strong>
97959796
97969797 <dd>The stack level of the generated box in the current stacking
9797- context is '0' . The box does not establish a new stacking context
9798+ context is 0 . The box does not establish a new stacking context
97989799 unless it is the root element.
97999800</dl>
98009801
@@ -9838,7 +9839,7 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
98389839</p>
98399840
98409841<p>Within each stacking context, the following layers are painted in
9841- back-to-front order.
9842+ back-to-front order:
98429843
98439844<ol>
98449845 <li>the background and borders of the element forming the stacking
@@ -9849,23 +9850,24 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
98499850
98509851 <li>the in-flow, non-inline-level, non-positioned descendants.
98519852
9852- <li>the floating descendants .
9853+ <li>the non-positioned floats .
98539854
98549855 <li>the in-flow, inline-level, non-positioned descendants, including
98559856 inline tables and inline blocks.
98569857
9857- <li>the child stacking contexts with stack level 0, and the positioned
9858- descendants with 'z-index: auto' .
9858+ <li>the child stacking contexts with stack level 0 and the
9859+ positioned descendants with stack level 0 .
98599860
98609861 <li>the child stacking contexts with positive stack levels (least
98619862 positive first).
98629863</ol>
98639864
9864- <p>Positioned elements with 'z-index: auto' (in layer 6), floats
9865- (layer 4), inline blocks (layer 5), and inline tables
9866- (layer 5), are painted as if those elements generated new
9867- stacking contexts, except that their positioned descendants and any
9868- child stacking contexts take part in the current stacking context.
9865+ <p>Within each stacking context, positioned elements with stack level
9866+ 0 (in layer 6), non-positioned floats (layer 4), inline
9867+ blocks (layer 5), and inline tables (layer 5), are painted
9868+ as if those elements themselves generated new stacking contexts,
9869+ except that their positioned descendants and any would-be child
9870+ stacking contexts take part in the current stacking context.
98699871
98709872<p>This painting order is applied recursively to each stacking
98719873context. This description of stacking context painting order
@@ -20366,6 +20368,8 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
2036620368 <li class="tocline3"><a href="changes.html#q504" class="tocxref">C.8.10 8.3.1 Collapsing margins</a>
2036720369 <li class="tocline3"><a href="changes.html#q505" class="tocxref">C.8.11 10.8 Line height calculations: the 'line-height' and 'vertical-align' properties</a>
2036820370 <li class="tocline3"><a href="changes.html#q506" class="tocxref">C.8.12 10.8.1 Leading and half-leading</a>
20371+ <li class="tocline3"><a href="changes.html#q507" class="tocxref">C.8.13 10.6.1 Inline, non-replaced elements</a>
20372+ <li class="tocline3"><a href="changes.html#q508" class="tocxref">C.8.14 9.5.1 Positioning the float: the 'float' property</a>
2036920373 </ul>
2037020374 </ul>
2037120375</div>
@@ -26904,7 +26908,7 @@ <h3 id=u.10.1><a name="q502">C.8.8 </a><a
2690426908is inline and split over multiple lines:
2690526909
2690626910<blockquote>
26907- 4. If the element has 'position: absolute', the containing block is
26911+ <p> 4. If the element has 'position: absolute', the containing block is
2690826912<del>established by</del> <ins>the padding edge of</ins> the nearest
2690926913ancestor with a 'position' of 'absolute', 'relative' or 'fixed'<del>,
2691026914in the following way:</del><ins>.</ins>
@@ -26954,7 +26958,7 @@ <h3 id=u.13.2.2><a name="q503">C.8.9 </a><a
2695426958
2695526959
2695626960
26957- <h3 id=u.8.3.1 ><a name="q504">C.8.10 </a><a
26961+ <h3 id=u.8.3.1a ><a name="q504">C.8.10 </a><a
2695826962href="/TR/2010/WD-CSS2-20101207/box.html#collapsing-margins">8.3.1
2695926963Collapsing margins</a></h3>
2696026964
@@ -26968,6 +26972,7 @@ <h3 id=u.8.3.1><a name="q504">C.8.10 </a><a
2696826972href="visuren.html#phantom-line-box">certain zero-height line
2696926973boxes</a> (see <a href="visuren.html#inline-formatting">9.4.2</a>) are
2697026974ignored for this purpose.)</span></ins>
26975+ </ul>
2697126976</blockquote>
2697226977
2697326978
@@ -26992,6 +26997,7 @@ <h3 id=u.10.8><a name="q505">C.8.11 </a><a
2699226997<ins><a href="visudet.html#inline-box-height">height of inline
2699326998boxes</a> in <a href="visudet.html#leading">"Leading and
2699426999half-leading"</a></ins>.)
27000+ </ol>
2699527001</blockquote>
2699627002
2699727003<p>The part of the definition that was in <a
@@ -27004,9 +27010,9 @@ <h3 id=u.10.8><a name="q505">C.8.11 </a><a
2700427010
2700527011
2700627012
27007- <h3 id=u.10.8.1 ><a name="q506">C.8.12 </a><a
27008- href="/TR/2010/WD-CSS2-20101207/visudet.html#leading"</a >10.8.1
27009- Leading and half-leading</h3>
27013+ <h3 id=u.10.8.1a ><a name="q506">C.8.12 </a><a
27014+ href="/TR/2010/WD-CSS2-20101207/visudet.html#leading">10.8.1
27015+ Leading and half-leading</a></ h3>
2701027016
2701127017<p>Inserted the following before the definitions of the keywords of
2701227018'vertical-align' to define precisely which box is aligned:
@@ -27021,14 +27027,57 @@ <h3 id=u.10.8.1><a name="q506">C.8.12 </a><a
2702127027</blockquote>
2702227028
2702327029<p>Also, to make sure there always is a box whose height is
27024- 'line-height', removed a phrase earlier in the same section:
27030+ 'line-height', a phrase earlier in the same section was removed :
2702527031
2702627032<blockquote>
2702727033<p>User agent must align the glyphs in a non-replaced inline box to
2702827034each other by their relevant baselines<del>, and to nested inline
2702927035boxes according to 'vertical-align'</del>.
2703027036</blockquote>
2703127037
27038+ <p>And another modified:
27039+
27040+ <blockquote>
27041+ <p>The height of the inline box <del>is then the smallest such that it
27042+ encloses all glyphs and their leading, as well as all nested inline
27043+ boxes.</del> <ins>encloses all glyphs and their leading and is thus
27044+ exactly 'line-height'. Boxes of child elements do not influence this
27045+ height.</ins>
27046+ </blockquote>
27047+
27048+
27049+
27050+ <h3 id=u.10.6.1a><a name="q507">C.8.13 </a><a
27051+ href="/TR/2010/WD-CSS2-20101207/visudet.html#inline-non-replaced">10.6.1
27052+ Inline, non-replaced elements</a></h3>
27053+
27054+ <p>Improve language:
27055+
27056+ <blockquote>
27057+ <p>The vertical padding, border and margin of an inline, non-replaced
27058+ box start at the top and bottom of the content
27059+ area, <del>not</del> <ins>and has nothing to do with</ins> the
27060+ 'line-height'. But only the 'line-height' is used when calculating the
27061+ height of the line box.
27062+ </blockquote>
27063+
27064+
27065+
27066+ <h3 id=u.9.5.1><a name="q508">C.8.14 </a><a
27067+ href="/TR/2010/WD-CSS2-20101207/visuren.html#float-position">9.5.1
27068+ Positioning the float: the 'float' property</a></h3>
27069+
27070+ <p>A left float must not only not overlap a right float, but must also
27071+ not be completely to the right of it.
27072+
27073+ </blockquote>
27074+ <p>3. The right <a href="box.html#outer-edge">outer edge</a> of a
27075+ left-floating box may not be to the right of the
27076+ left <a href="box.html#outer-edge">outer edge</a> of any
27077+ right-floating box that is <del>to the right of</del> <ins>next
27078+ to</ins> it. Analogous rules hold for right-floating elements.
27079+
27080+
2703227081<hr class="navbar">
2703327082
2703427083
0 commit comments