@@ -1271,6 +1271,8 @@ <h2><a name="toc">Full Table of Contents</a></h2>
1271
1271
<li class="tocline3"><a href="changes.html#q504" class="tocxref">C.8.10 8.3.1 Collapsing margins</a>
1272
1272
<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>
1273
1273
<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>
1274
1276
</ul>
1275
1277
</ul>
1276
1278
<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>
7003
7005
margins, the maximum of the absolute values of the negative adjoining
7004
7006
margins is deducted from the maximum of the positive adjoining
7005
7007
margins. 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.
7008
7009
7009
7010
<P ID="collapsed-through">If the top and bottom margins of a box are
7010
7011
adjoining, 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
9026
9027
<li>The right <a href="box.html#outer-edge">outer edge</a> of a
9027
9028
left-floating box may not be to the right of the left <a
9028
9029
href="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
9030
9031
right-floating elements.
9031
9032
</li>
9032
9033
<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
9794
9795
<dt><strong>auto</strong>
9795
9796
9796
9797
<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
9798
9799
unless it is the root element.
9799
9800
</dl>
9800
9801
@@ -9838,7 +9839,7 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
9838
9839
</p>
9839
9840
9840
9841
<p>Within each stacking context, the following layers are painted in
9841
- back-to-front order.
9842
+ back-to-front order:
9842
9843
9843
9844
<ol>
9844
9845
<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
9849
9850
9850
9851
<li>the in-flow, non-inline-level, non-positioned descendants.
9851
9852
9852
- <li>the floating descendants .
9853
+ <li>the non-positioned floats .
9853
9854
9854
9855
<li>the in-flow, inline-level, non-positioned descendants, including
9855
9856
inline tables and inline blocks.
9856
9857
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 .
9859
9860
9860
9861
<li>the child stacking contexts with positive stack levels (least
9861
9862
positive first).
9862
9863
</ol>
9863
9864
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.
9869
9871
9870
9872
<p>This painting order is applied recursively to each stacking
9871
9873
context. This description of stacking context painting order
@@ -20366,6 +20368,8 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
20366
20368
<li class="tocline3"><a href="changes.html#q504" class="tocxref">C.8.10 8.3.1 Collapsing margins</a>
20367
20369
<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>
20368
20370
<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>
20369
20373
</ul>
20370
20374
</ul>
20371
20375
</div>
@@ -26904,7 +26908,7 @@ <h3 id=u.10.1><a name="q502">C.8.8 </a><a
26904
26908
is inline and split over multiple lines:
26905
26909
26906
26910
<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
26908
26912
<del>established by</del> <ins>the padding edge of</ins> the nearest
26909
26913
ancestor with a 'position' of 'absolute', 'relative' or 'fixed'<del>,
26910
26914
in the following way:</del><ins>.</ins>
@@ -26954,7 +26958,7 @@ <h3 id=u.13.2.2><a name="q503">C.8.9 </a><a
26954
26958
26955
26959
26956
26960
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
26958
26962
href="/TR/2010/WD-CSS2-20101207/box.html#collapsing-margins">8.3.1
26959
26963
Collapsing margins</a></h3>
26960
26964
@@ -26968,6 +26972,7 @@ <h3 id=u.8.3.1><a name="q504">C.8.10 </a><a
26968
26972
href="visuren.html#phantom-line-box">certain zero-height line
26969
26973
boxes</a> (see <a href="visuren.html#inline-formatting">9.4.2</a>) are
26970
26974
ignored for this purpose.)</span></ins>
26975
+ </ul>
26971
26976
</blockquote>
26972
26977
26973
26978
@@ -26992,6 +26997,7 @@ <h3 id=u.10.8><a name="q505">C.8.11 </a><a
26992
26997
<ins><a href="visudet.html#inline-box-height">height of inline
26993
26998
boxes</a> in <a href="visudet.html#leading">"Leading and
26994
26999
half-leading"</a></ins>.)
27000
+ </ol>
26995
27001
</blockquote>
26996
27002
26997
27003
<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
27004
27010
27005
27011
27006
27012
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>
27010
27016
27011
27017
<p>Inserted the following before the definitions of the keywords of
27012
27018
'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
27021
27027
</blockquote>
27022
27028
27023
27029
<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 :
27025
27031
27026
27032
<blockquote>
27027
27033
<p>User agent must align the glyphs in a non-replaced inline box to
27028
27034
each other by their relevant baselines<del>, and to nested inline
27029
27035
boxes according to 'vertical-align'</del>.
27030
27036
</blockquote>
27031
27037
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
+
27032
27081
<hr class="navbar">
27033
27082
27034
27083
0 commit comments