Skip to content

Commit 6d939ce

Browse files
committed
[css2] Generated. Do not edit!
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403143
1 parent a2eb397 commit 6d939ce

File tree

13 files changed

+1900
-1746
lines changed

13 files changed

+1900
-1746
lines changed

css2/box.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,7 @@ <H3>8.3.1 <a name="collapsing-margins">Collapsing margins</a></H3>
468468
margins, the maximum of the absolute values of the negative adjoining
469469
margins is deducted from the maximum of the positive adjoining
470470
margins. If there are no positive margins, the maximum of the
471-
absolute values of the adjoining margins adjoining margins is deducted
472-
from zero.
471+
absolute values of the adjoining margins is deducted from zero.
473472

474473
<P ID="collapsed-through">If the top and bottom margins of a box are
475474
adjoining, then it is possible for margins to <a name="x28"><span

css2/changes.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,8 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
547547
<li class="tocline3"><a href="changes.html#q504" class="tocxref">C.8.10 8.3.1 Collapsing margins</a>
548548
<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>
549549
<li class="tocline3"><a href="changes.html#q506" class="tocxref">C.8.12 10.8.1 Leading and half-leading</a>
550+
<li class="tocline3"><a href="changes.html#q507" class="tocxref">C.8.13 10.6.1 Inline, non-replaced elements</a>
551+
<li class="tocline3"><a href="changes.html#q508" class="tocxref">C.8.14 9.5.1 Positioning the float: the 'float' property</a>
550552
</ul>
551553
</ul>
552554
</div>
@@ -7223,6 +7225,38 @@ <h3 id=u.10.8.1a><a name="q506">C.8.12 </a><a
72237225
</blockquote>
72247226

72257227

7228+
7229+
<h3 id=u.10.6.1a><a name="q507">C.8.13 </a><a
7230+
href="/TR/2010/WD-CSS2-20101207/visudet.html#inline-non-replaced">10.6.1
7231+
Inline, non-replaced elements</a></h3>
7232+
7233+
<p>Improve language:
7234+
7235+
<blockquote>
7236+
<p>The vertical padding, border and margin of an inline, non-replaced
7237+
box start at the top and bottom of the content
7238+
area, <del>not</del> <ins>and has nothing to do with</ins> the
7239+
'line-height'. But only the 'line-height' is used when calculating the
7240+
height of the line box.
7241+
</blockquote>
7242+
7243+
7244+
7245+
<h3 id=u.9.5.1><a name="q508">C.8.14 </a><a
7246+
href="/TR/2010/WD-CSS2-20101207/visuren.html#float-position">9.5.1
7247+
Positioning the float: the 'float' property</a></h3>
7248+
7249+
<p>A left float must not only not overlap a right float, but must also
7250+
not be completely to the right of it.
7251+
7252+
</blockquote>
7253+
<p>3. The right <a href="box.html#outer-edge">outer edge</a> of a
7254+
left-floating box may not be to the right of the
7255+
left <a href="box.html#outer-edge">outer edge</a> of any
7256+
right-floating box that is <del>to the right of</del> <ins>next
7257+
to</ins> it. Analogous rules hold for right-floating elements.
7258+
7259+
72267260
<hr class="navbar">
72277261

72287262
<div class="navbar">

css2/cover.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,8 @@ <h2><a name="toc">Full Table of Contents</a></h2>
12761276
<li class="tocline3"><a href="changes.html#q504" class="tocxref">C.8.10 8.3.1 Collapsing margins</a>
12771277
<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>
12781278
<li class="tocline3"><a href="changes.html#q506" class="tocxref">C.8.12 10.8.1 Leading and half-leading</a>
1279+
<li class="tocline3"><a href="changes.html#q507" class="tocxref">C.8.13 10.6.1 Inline, non-replaced elements</a>
1280+
<li class="tocline3"><a href="changes.html#q508" class="tocxref">C.8.14 9.5.1 Positioning the float: the 'float' property</a>
12791281
</ul>
12801282
</ul>
12811283
<li class="tocline1"><a href="sample.html" class="tocxref">Appendix D. Default style sheet for HTML 4</a>

css2/css2.html

Lines changed: 68 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -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>
70037005
margins, the maximum of the absolute values of the negative adjoining
70047006
margins is deducted from the maximum of the positive adjoining
70057007
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.
70087009

70097010
<P ID="collapsed-through">If the top and bottom margins of a box are
70107011
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
90269027
<li>The right <a href="box.html#outer-edge">outer edge</a> of a
90279028
left-floating box may not be to the right of the left <a
90289029
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
90309031
right-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&nbsp;6), floats
9865-
(layer&nbsp;4), inline blocks (layer&nbsp;5), and inline tables
9866-
(layer&nbsp;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&nbsp;6), non-positioned floats (layer&nbsp;4), inline
9867+
blocks (layer&nbsp;5), and inline tables (layer&nbsp;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
98719873
context. 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
2690426908
is 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
2690926913
ancestor with a 'position' of 'absolute', 'relative' or 'fixed'<del>,
2691026914
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
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
2695826962
href="/TR/2010/WD-CSS2-20101207/box.html#collapsing-margins">8.3.1
2695926963
Collapsing margins</a></h3>
2696026964

@@ -26968,6 +26972,7 @@ <h3 id=u.8.3.1><a name="q504">C.8.10 </a><a
2696826972
href="visuren.html#phantom-line-box">certain zero-height line
2696926973
boxes</a> (see <a href="visuren.html#inline-formatting">9.4.2</a>) are
2697026974
ignored 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
2699326998
boxes</a> in <a href="visudet.html#leading">"Leading and
2699426999
half-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
2702827034
each other by their relevant baselines<del>, and to nested inline
2702927035
boxes 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

css2/diffs-rec/box.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -468,18 +468,17 @@ <H3>8.3.1 <a name="collapsing-margins">Collapsing margins</a></H3>
468468
margins, the maximum of the absolute values of the negative adjoining
469469
margins is deducted from the maximum of the positive adjoining
470470
margins. If there are no positive margins, the maximum of the
471-
absolute values of the adjoining margins adjoining margins is deducted
472-
from zero.</ins>
471+
absolute values of the adjoining margins is deducted from zero.</ins>
473472

474473
<P ID="collapsed-through"><ins>If the top and bottom margins of a box are
475474
adjoining, then it is possible</ins> for <del>an illustration</del><ins>margins to</ins> <a name="x28"><span
476475
class="index-def"><DFN><ins>collapse through</ins></DFN></span></a> <ins>it. In this case,
477-
the position of the element depends on its relationship with the other
476+
the position</ins> of <ins>the element depends on its relationship with the other
478477
elements whose margins are being collapsed.</ins>
479478

480479
<UL>
481-
<LI><ins>If the element's margins are collapsed with its parent's top
482-
margin, the top border edge</ins> of <ins>the box is defined to be the same as
480+
<LI><ins>If the element's margins are</ins> collapsed <del>margins.</del><ins>with its parent's top
481+
margin, the top border edge of the box is defined to be the same as
483482
the parent's.</ins>
484483

485484
<LI><ins>Otherwise, either the element's parent is not taking part in the
@@ -488,8 +487,8 @@ <H3>8.3.1 <a name="collapsing-margins">Collapsing margins</a></H3>
488487
as it would have been if the element had a non-zero bottom border.</ins>
489488
</UL>
490489

491-
<P><ins>Note that the positions of elements that have been</ins> collapsed
492-
<del>margins.</del><ins>through have no effect on the positions of the other elements with
490+
<P><ins>Note that the positions of elements that have been collapsed
491+
through have no effect on the positions of the other elements with
493492
whose margins they are being collapsed; the top border edge position
494493
is only required for laying out descendants of these elements.</ins>
495494

0 commit comments

Comments
 (0)