You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css2/diffs-rec/visuren.html
+25-24Lines changed: 25 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -1434,17 +1434,17 @@ <h3><ins>9.5.1</ins> <a name="float-position"><ins>Positioning</ins> the <del>l
1434
1434
<dt><strong><ins>left</ins></strong></dt>
1435
1435
1436
1436
<dd><ins>The element generates a</ins><ahref="#block-boxes">block</a> box <ins>that is
1437
-
floated</ins> to <del>which</del>the <del>compact or run-in</del><ins>left. Content flows on the right side of the box,
1438
-
starting at the top (subject to the</ins><ahref="visuren.html#propdef-clear" class="noxref"><span
1437
+
floated</ins> to <del>which</del>the <del>compact or run-in box belongs. Values have</del><ins>left. Content flows on</ins> the <del>following meanings when applied to non-floating block boxes: left</del><ins>right side of the box,
1438
+
starting at</ins> the top <del>margin</del><ins>(subject to the</ins><ahref="visuren.html#propdef-clear" class="noxref"><span
<dd><ins>Similar to 'left', except the</ins> box <del>belongs. Values have</del><ins>is floated to</ins> the <del>following meanings when applied</del><ins>right, and content flows on the left side of the box, starting at the top.</ins></dd>
1443
+
<dd><ins>Similar to 'left', except the box is floated to the right, and content flows on the left side</ins> of the <del>generated</del><ins>box, starting at the top.</ins></dd>
1444
1444
1445
1445
<dt><strong><ins>none</ins></strong></dt>
1446
1446
1447
-
<dd><ins>The box is not floated.</ins></dd>
1447
+
<dd><ins>The</ins> box is <del>increased enough</del><ins>not floated.</ins></dd>
1448
1448
</dl>
1449
1449
1450
1450
<p>
@@ -1453,12 +1453,12 @@ <h3><ins>9.5.1</ins> <a name="float-position"><ins>Positioning</ins> the <del>l
1453
1453
1454
1454
1455
1455
<p><spanclass="index-def" title="float rules"><a
1456
-
name="float-rules"><ins>Here are the precise rules</ins></a></span><ins>that
1457
-
govern the behavior of floats:</ins></p>
1456
+
name="float-rules"><ins>Here are the precise rules</ins></a></span> that
1457
+
<ins>govern the behavior of floats:</ins></p>
1458
1458
1459
1459
<ol>
1460
1460
<li><ins>The left</ins><ahref="box.html#outer-edge"><ins>outer edge</ins></a><ins>of a
1461
-
left-floating box may not be</ins> to <del>non-floating block boxes:</del><ins>the</ins> left <ins>of</ins> the <del>top margin</del><ins>left edge</ins> of <ins>its</ins><a
1461
+
left-floating box may not be to the left of the left edge of its</ins><a
1462
1462
href="#containing-block"><ins>containing block</ins></a><ins>. An
1463
1463
analogous rule holds for right-floating elements.</ins>
1464
1464
</li>
@@ -1708,7 +1708,7 @@ <h3><ins>9.5.2</ins> <a name="flow-control"><ins>Controlling flow next to floats
1708
1708
Last paragraph.</ins>
1709
1709
</pre>
1710
1710
1711
-
<p><ins>Explanation: Without</ins> the <del>generated box is increased enough that</del><ins>'clear', the first and last paragraphs'
1711
+
<p><ins>Explanation: Without the 'clear', the first and last paragraphs'
1712
1712
margins would collapse and</ins> the <ins>last paragraph's</ins> top border edge <del>is below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document. right</del><ins>would
1713
1713
be flush with</ins> the top <del>margin</del>of the <del>generated box is increased enough that</del><ins>floating paragraph. But the 'clear'
1714
1714
requires</ins> the top border edge <del>is</del><ins>to be</ins><em>below</em> the <del>bottom outer edge of any right-floating boxes</del><ins>float, i.e., 2em
left edge of the containing block (thus, a right margin of '10px' has
2192
2192
been reserved in anticipation of the offset). The two hyphens acting
2193
2193
as change bars are taken out of the flow and positioned at the current
2194
-
line (due to 'top: auto'), '-1em' from the left edge of its containing
2195
-
block (established by the P in <del>its final position).</del><ins>its final position). The result is
2194
+
line (due to 'top: auto'), '-1em' from the left edge of <del>its containing block (established by</del><ins>its containing
2195
+
block (established by the P in its final position). The result is
2196
2196
that the change bars seem to "float" to the left of the current
2197
2197
line.</ins></p>
2198
2198
</div>
@@ -2240,8 +2240,8 @@ <h3><ins>9.9.1</ins> <a name="z-index"><ins>Specifying the stack level</ins></a>
2240
2240
2241
2241
<dt><strong><ins>auto</ins></strong>
2242
2242
2243
-
<dd><ins>The stack level of the generated box in</ins> the <del>result</del><ins>current stacking
2244
-
context</ins> is <del>that the change bars seem to "float" to</del><ins>'0'.</ins> The <del>left of</del><ins>box does not establish a new stacking context
2243
+
<dd><ins>The stack level of</ins> the <del>P</del><ins>generated box</ins>in <del>its final position).</del>the <del>result</del><ins>current stacking
2244
+
context</ins> is <del>that the change bars seem to "float" to</del><ins>0.</ins> The <del>left of</del><ins>box does not establish a new stacking context
2245
2245
unless it is</ins> the <del>current line. 9.9 Layered presentation</del><ins>root element.</ins>
2246
2246
</dl>
2247
2247
@@ -2268,7 +2268,7 @@ <h3><ins>9.9.1</ins> <a name="z-index"><ins>Specifying the stack level</ins></a>
2268
2268
level</dfn></a></span>, which is its position on the z-axis relative
2269
2269
<del>to</del>other <del>boxes in</del><ins>stack levels within</ins> the same stacking context. Boxes with
2270
2270
greater stack levels are always formatted
2271
-
in front <del>of boxes with lower stack levels. Boxes may have negative stack levels. Boxes with the same stack level in a stacking context are stacked bottom-to-top according to document tree order. The root element creates a root stacking context , but other elements may establish local stacking contexts . Stacking contexts are inherited. A local stacking context is atomic; boxes in other stacking contexts may not come between any of its boxes. An element that establishes a local stacking context generates a box that has two stack levels: one for the stacking context it creates (always '0') and one for the stacking context to which it belongs (given by the 'z-index' property). An element's box has the same stack level as its parent's box unless given a different stack level with the 'z-index' property. 9.9.1 Specifying the stack level : the 'z-index' property 'z-index' Value: auto | <integer> | inherit Initial: auto Applies to: positioned elements Inherited: no Percentages: N/A Media: visual For a positioned box, the 'z-index' property specifies:</del><ins>of boxes with lower stack levels. Boxes may have negative
2271
+
in front of boxes with lower stack levels. Boxes <del>may have negative stack levels. Boxes with the same stack level in a stacking context are stacked bottom-to-top according to document tree order. The root element creates a root stacking context , but other elements may establish local stacking contexts . Stacking contexts are inherited. A local stacking context is atomic; boxes in other stacking contexts may not come between any of its boxes. An element that establishes a local stacking context generates a box that has two stack levels: one for the stacking context it creates (always '0') and one for the stacking context to which it belongs (given by the 'z-index' property). An element's box has the same stack level as its parent's box unless given a different stack level with the 'z-index' property. 9.9.1 Specifying the stack level : the 'z-index' property 'z-index' Value: auto | <integer> | inherit Initial: auto Applies to: positioned elements Inherited: no Percentages: N/A Media: visual For a positioned box, the 'z-index' property specifies:</del><ins>may have negative
2272
2272
stack levels. Boxes with</ins> the <ins>same</ins> stack level <del>of the box</del>in <ins>a stacking context
2273
2273
are stacked back-to-front according to document tree order.</ins>
2274
2274
</p>
@@ -2285,34 +2285,35 @@ <h3><ins>9.9.1</ins> <a name="z-index"><ins>Specifying the stack level</ins></a>
2285
2285
</p>
2286
2286
2287
2287
<p><ins>Within each stacking context,</ins> the following <del>meanings: <integer> This integer is</del><ins>layers are painted in
2288
-
back-to-front order.</ins>
2288
+
back-to-front order:</ins>
2289
2289
2290
2290
<ol>
2291
2291
<li>the <del>stack level</del><ins>background and borders</ins> of the <del>generated box in</del><ins>element forming</ins> the <del>current</del>stacking
2292
2292
context.
2293
2293
2294
-
<li>the <del>box also establishes a local</del><ins>child</ins> stacking <del>context in which its</del><ins>contexts with negative</ins> stack <del>level is '0'. auto</del><ins>levels (most
2294
+
<li>the <del>box also establishes a local</del><ins>child</ins> stacking <del>context in which its</del><ins>contexts with negative stack levels (most
<li><ins>the child stacking contexts with positive stack levels (least
2307
+
<li>the <ins>child stacking contexts with positive stack levels (least
2308
2308
positive first).</ins>
2309
2309
</ol>
2310
2310
2311
-
<p><ins>Positioned elements with 'z-index: auto' (in layer 6), floats
2312
-
(layer 4), inline blocks (layer 5), and inline tables
2313
-
(layer 5), are painted as if those elements</ins> generated <del>box</del><ins>new
2314
-
stacking contexts, except that their positioned descendants and any
2315
-
child stacking contexts take part</ins> in the current stacking <del>context</del><ins>context.</ins>
2311
+
<p><ins>Within each stacking context, positioned elements with stack level
2312
+
0 (in layer 6), non-positioned floats (layer 4), inline
2313
+
blocks (layer 5), and inline tables (layer 5), are painted
2314
+
as if those elements themselves</ins> generated <del>box</del><ins>new stacking contexts,
2315
+
except that their positioned descendants and any would-be child
2316
+
stacking contexts take part</ins> in the current stacking <del>context</del><ins>context.</ins>
2316
2317
2317
2318
<p><ins>This painting order</ins> is <del>the same as its parent's box. The box does not establish a new local</del><ins>applied recursively to each</ins> stacking
2318
2319
context. <ins>This description of stacking context painting order
Copy file name to clipboardExpand all lines: css2/diffs-wd/visuren.html
+14-13Lines changed: 14 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2241,7 +2241,7 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
2241
2241
<dt><strong>auto</strong>
2242
2242
2243
2243
<dd>The stack level of the generated box in the current stacking
2244
-
context is <del>the same as its parent's box.</del><ins>'0'.</ins> The box does not establish a new <del>local</del>stacking <del>context.</del><ins>context
2244
+
context is <del>the same as its parent's box.</del><ins>0.</ins> The box does not establish a new <del>local</del>stacking <del>context.</del><ins>context
2245
2245
unless it is the root element.</ins>
2246
2246
</dl>
2247
2247
@@ -2285,7 +2285,7 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
2285
2285
</p>
2286
2286
2287
2287
<p><ins>Within</ins> each stacking <del>context consists of</del><ins>context,</ins> the following <del>stacking levels (from back to front):</del><ins>layers are painted in
2288
-
back-to-front order.</ins>
2288
+
back-to-front order:</ins>
2289
2289
2290
2290
<ol>
2291
2291
<li>the background and borders of the element forming the stacking
@@ -2296,23 +2296,24 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
<li><del>a stacking level for</del><ins>the</ins> non-positioned <del>floats and their contents. a stacking level for in-flow inline-level</del><ins>floats.</ins>
2300
2300
2301
-
<li><ins>the in-flow, inline-level,</ins> non-positioned <del>floats</del><ins>descendants, including
2302
-
inline tables</ins> and <del>their contents. a stacking level for in-flow inline-level non-positioned descendants. a</del><ins>inline blocks.</ins>
2301
+
<li><ins>the in-flow, inline-level,</ins> non-positioned <del>descendants. a</del><ins>descendants, including
2302
+
inline tables and inline blocks.</ins>
2303
2303
2304
-
<li><ins>the child</ins> stacking <ins>contexts with stack</ins> level <del>for</del><ins>0, and the</ins> positioned
2305
-
descendants with 'z-index: <del>auto', and any descendant stacking contexts with 'z-index: 0'.</del><ins>auto'.</ins>
2304
+
<li><ins>the child</ins> stacking <ins>contexts with stack</ins> level <del>for</del><ins>0 and the</ins>
2305
+
positioned descendants with <del>'z-index: auto', and any descendant stacking contexts with 'z-index: 0'.</del><ins>stack level 0.</ins>
2306
2306
2307
-
<li>the <ins>child</ins> stacking contexts <del>of descendants</del>with positive stack <del>levels. For a more thorough explanation of the stacking order, please see Appendix E . The contents of</del><ins>levels (least
2307
+
<li>the <ins>child</ins> stacking contexts <del>of descendants</del>with positive stack <del>levels. For a more thorough explanation of the</del><ins>levels (least
2308
2308
positive first).</ins>
2309
2309
</ol>
2310
2310
2311
-
<p><ins>Positioned elements with 'z-index: auto' (in layer 6), floats
2312
-
(layer 4),</ins> inline blocks <ins>(layer 5),</ins> and inline tables
2313
-
<ins>(layer 5),</ins> are <del>stacked</del><ins>painted</ins> as if <del>they</del><ins>those elements</ins> generated new
2314
-
stacking contexts, except that <del>any</del><ins>their</ins> positioned <del>elements</del><ins>descendants</ins> and any
2315
-
<del>elements that actually create new</del><ins>child</ins> stacking contexts take part in the <del>parent</del><ins>current</ins> stacking context.
2311
+
<p><ins>Within each</ins> stacking <del>order, please see Appendix E . The contents of</del><ins>context, positioned elements with stack level
2312
+
0 (in layer 6), non-positioned floats (layer 4),</ins> inline
2313
+
blocks <ins>(layer 5),</ins> and inline tables <ins>(layer 5),</ins> are <del>stacked</del><ins>painted</ins>
2314
+
as if <del>they</del><ins>those elements themselves</ins> generated new stacking contexts,
2315
+
except that <del>any</del><ins>their</ins> positioned <del>elements</del><ins>descendants</ins> and any <del>elements that actually create new</del><ins>would-be child</ins>
2316
+
stacking contexts take part in the <del>parent</del><ins>current</ins> stacking context.
2316
2317
2317
2318
<p><del>They are then painted atomically in the inline</del><ins>This painting order is applied recursively to each stacking
2318
2319
context. This description of</ins> stacking <del>level.</del><ins>context painting order
0 commit comments