Skip to content

Commit ac2c511

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

4 files changed

Lines changed: 34 additions & 14 deletions

File tree

css2/css2.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7803,7 +7803,8 @@ <h3 id="block-formatting"><a name="q15">9.4.1 Block formatting contexts</a></h3>
78037803
edges touch). This is true even in the presence of floats (although a
78047804
box's <em>line boxes</em> may shrink due to the floats), unless the box
78057805
establishes a new block formatting context (in which case the box itself
7806-
<em>may</em> become narrower due to the floats).
7806+
<a href="#bfc-next-to-float"><em>may</em> become narrower</a> due to
7807+
the floats).
78077808
</p>
78087809

78097810
<p>For information about page breaks in paged media, please consult
@@ -8089,13 +8090,17 @@ <h2>9.5 <a name="floats">Floats</a></h2>
80898090
on the line before a left float is encountered that fits in the remaining line box space,
80908091
the left float is placed on that line, aligned with the top of the line box, and then the inline boxes already on the line are moved accordingly to the right of the float (the right being the other side of the left float) and vice versa for rtl and right floats.
80918092
</p>
8092-
<p>
8093+
<p id="bfc-next-to-float">
80938094
The border box of a table, a block-level replaced element, or an element in the normal flow that establishes a new <a href="visuren.html#block-formatting">block formatting context</a>
80948095
(such as an element with 'overflow' other than 'visible')
80958096
must not overlap any floats in the same block formatting context as
80968097
the element itself. If necessary, implementations should clear the
80978098
said element by placing it below any preceding floats, but may place
80988099
it adjacent to such floats if there is sufficient space.
8100+
They may even make the border box of said element narrower than
8101+
defined by <a href="visudet.html#blockwidth">section&nbsp;10.3.3.</a>
8102+
CSS2 does not define when a UA may put said element next to the float
8103+
or by how much said element may become narrower.
80998104
</p>
81008105
<div class="example"><P style="display:none">Example(s):</P>
81018106
<p><strong>Example.</strong>

css2/diffs-rec/visuren.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,8 @@ <h3 id="block-formatting"><a name="q15">9.4.1 Block formatting <del>context</de
872872
edges touch). This is true even in the presence of floats (although a
873873
box's <em> <del>content</del> <del>area</del><ins>line</ins> <ins>boxes</ins></em> may shrink due to the <ins>floats),</ins> <ins>unless</ins> <ins>the</ins> <ins>box</ins>
874874
<ins>establishes</ins> <ins>a</ins> <ins>new</ins> <ins>block</ins> <ins>formatting</ins> <ins>context</ins> <ins>(in</ins> <ins>which</ins> <ins>case</ins> <ins>the</ins> <ins>box</ins> <ins>itself</ins>
875-
<em><ins>may</ins></em> <ins>become</ins> <ins>narrower</ins> <ins>due</ins> <ins>to</ins> <ins>the</ins> floats).
875+
<a href="#bfc-next-to-float"><em><ins>may</ins></em> <ins>become</ins> <ins>narrower</ins></a> <ins>due</ins> <ins>to</ins>
876+
<ins>the</ins> floats).
876877
</p>
877878

878879
<p>For information about page breaks in paged media, please consult
@@ -1158,13 +1159,17 @@ <h2>9.5 <a name="floats">Floats</a></h2>
11581159
<ins>on</ins> the <del>following</del> <del>HTML</del> <del>source</del> <del>and</del> <del>style</del> <del>sheet:</del> <del>&lt;!DOCTYPE</del> <del>HTML</del> <del>PUBLIC</del> <del>"-//W3C//DTD</del> <del>HTML</del> <del>4.0//EN"&gt;</del> <del>&lt;HTML&gt;</del> <del>&lt;HEAD&gt;</del> <del>&lt;TITLE&gt;Float</del> <del>example&lt;/TITLE&gt;</del> <del>&lt;STYLE</del> <del>type="text/css"&gt;</del> <del>IMG</del> <del>{</del> <del>float:</del><ins>line</ins> <ins>before</ins> <ins>a</ins> left <del>}</del> <del>BODY,</del> <del>P,</del> <del>IMG</del> <del>{</del> <del>margin:</del> <del>2em</del> <del>}</del> <del>&lt;/STYLE&gt;</del> <del>&lt;/HEAD&gt;</del> <del>&lt;BODY&gt;</del> <del>&lt;P&gt;&lt;IMG</del> <del>src=img.gif</del> <del>alt="This</del> <del>image</del> <del>will</del> <del>illustrate</del> <del>floats"&gt;</del> <del>Some</del> <del>sample</del> <del>text</del><ins>float</ins> <ins>is</ins> <ins>encountered</ins> that <del>has</del> <del>no</del> <del>other...</del> <del>&lt;/BODY&gt;</del> <del>&lt;/HTML&gt;</del><ins>fits</ins> <ins>in</ins> the <del>IMG</del><ins>remaining</ins> <ins>line</ins> box <del>is</del> <del>floated</del> <del>to</del> <del>the</del> <del>left.</del><ins>space,</ins>
11591160
the <del>content</del> <del>that</del> <del>follows</del><ins>left</ins> <ins>float</ins> is <del>formatted</del> <del>to</del><ins>placed</ins> <ins>on</ins> <ins>that</ins> <ins>line,</ins> <ins>aligned</ins> <ins>with</ins> the <del>right</del><ins>top</ins> of the <del>float,</del> <del>starting</del> <del>on</del> <del>the</del> <del>same</del>line <del>as</del><ins>box,</ins> <ins>and</ins> <ins>then</ins> the <del>float.</del><ins>inline</ins> <ins>boxes</ins> <ins>already</ins> <ins>on</ins> the line <del>boxes</del><ins>are</ins> <ins>moved</ins> <ins>accordingly</ins> to the right of the float <del>are</del> <del>shortened</del> <del>due</del> <del>to</del><ins>(the</ins> <ins>right</ins> <ins>being</ins> the <del>float's</del> <del>presence,</del> <del>but</del> <del>resume</del> <del>their</del> <del>"normal"</del> <del>width</del> <del>(that</del><ins>other</ins> <ins>side</ins> of the <del>containing</del> <del>block</del> <del>established</del> <del>by</del> <del>the</del><ins>left</ins> <ins>float)</ins> <ins>and</ins> <ins>vice</ins> <ins>versa</ins> <ins>for</ins> <ins>rtl</ins> <ins>and</ins> <ins>right</ins> <ins>floats.</ins>
11601161
</p>
1161-
<p>
1162+
<p id="bfc-next-to-float">
11621163
<ins>The</ins> <ins>border</ins> <ins>box</ins> <ins>of</ins> <ins>a</ins> <ins>table,</ins> <ins>a</ins> <ins>block-level</ins> <ins>replaced</ins> <ins>element,</ins> <ins>or</ins> <ins>an</ins> <ins>element</ins> <ins>in</ins> <ins>the</ins> <ins>normal</ins> <ins>flow</ins> <ins>that</ins> <ins>establishes</ins> <ins>a</ins> <ins>new</ins> <a href="visuren.html#block-formatting"><ins>block</ins> <ins>formatting</ins> <ins>context</ins></a>
11631164
<ins>(such</ins> <ins>as</ins> <ins>an</ins> <ins>element</ins> <ins>with</ins> <ins>'overflow'</ins> <ins>other</ins> <ins>than</ins> <ins>'visible')</ins>
11641165
<ins>must</ins> <ins>not</ins> <ins>overlap</ins> <ins>any</ins> <ins>floats</ins> <ins>in</ins> <ins>the</ins> <ins>same</ins> <ins>block</ins> <ins>formatting</ins> <ins>context</ins> <ins>as</ins>
11651166
<ins>the</ins> <ins>element</ins> <ins>itself.</ins> <ins>If</ins> <ins>necessary,</ins> <ins>implementations</ins> <ins>should</ins> <ins>clear</ins> <ins>the</ins>
11661167
<ins>said</ins> <ins>element</ins> <ins>by</ins> <ins>placing</ins> <ins>it</ins> <ins>below</ins> <ins>any</ins> <ins>preceding</ins> <ins>floats,</ins> <ins>but</ins> <ins>may</ins> <ins>place</ins>
11671168
<ins>it</ins> <ins>adjacent</ins> <ins>to</ins> <ins>such</ins> <ins>floats</ins> <ins>if</ins> <ins>there</ins> <ins>is</ins> <ins>sufficient</ins> <ins>space.</ins>
1169+
<ins>They</ins> <ins>may</ins> <ins>even</ins> <ins>make</ins> <ins>the</ins> <ins>border</ins> <ins>box</ins> <ins>of</ins> <ins>said</ins> <ins>element</ins> <ins>narrower</ins> <ins>than</ins>
1170+
<ins>defined</ins> <ins>by</ins> <a href="visudet.html#blockwidth"><ins>section&nbsp;10.3.3.</ins></a>
1171+
<ins>CSS2</ins> <ins>does</ins> <ins>not</ins> <ins>define</ins> <ins>when</ins> <ins>a</ins> <ins>UA</ins> <ins>may</ins> <ins>put</ins> <ins>said</ins> <ins>element</ins> <ins>next</ins> <ins>to</ins> <ins>the</ins> <ins>float</ins>
1172+
<ins>or</ins> <ins>by</ins> <ins>how</ins> <ins>much</ins> <ins>said</ins> <ins>element</ins> <ins>may</ins> <ins>become</ins> <ins>narrower.</ins>
11681173
</p>
11691174
<div class="example"><P style="display:none"><ins>Example(s):</ins></P>
11701175
<p><strong><ins>Example.</ins></strong>
@@ -1472,7 +1477,7 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
14721477

14731478

14741479
<p>This property indicates which sides of an element's box(es) may
1475-
<em>not</em> <del>be</del> <del>adjacent</del> <del>to</del> <del>an</del> <del>earlier</del> <del>floating</del> <del>box.</del> <del>(It</del> <del>may</del> <del>be</del> <del>that</del> <del>the</del> <del>element</del> <del>itself</del> <del>has</del><ins>be</ins> <ins>adjacent</ins> <ins>to</ins> <ins>an</ins> <ins>earlier</ins> floating <del>descendants;</del><ins>box.</ins> The 'clear'
1480+
<em>not</em> be adjacent to an earlier floating box. <del>(It</del> <del>may</del> <del>be</del> <del>that</del> <del>the</del> <del>element</del> <del>itself</del> <del>has</del> <del>floating</del> <del>descendants;</del>The 'clear'
14761481
property <del>has</del> <del>no</del> <del>effect</del> <del>on</del> <del>those.)</del> <del>This</del> <del>property</del> <del>may</del> <del>only</del> <del>be</del> <del>specified</del> <del>for</del> <del>block-level</del> <del>elements</del> <del>(including</del> <del>floats).</del><ins>does</ins> <ins>not</ins> <ins>consider</ins> <ins>floats</ins> <ins>inside</ins> <ins>the</ins> <ins>element</ins> <ins>itself</ins> <ins>or</ins> <ins>in</ins>
14771482
<ins>other</ins> <a href="visuren.html#block-formatting"><ins>block</ins> <ins>formatting</ins>
14781483
<ins>contexts.</ins></a>
@@ -1507,7 +1512,7 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
15071512

15081513
<dd><ins>The</ins> <ins>clearance</ins> of the generated box is <del>increased</del> <del>enough</del><ins>set</ins> <ins>to</ins> <ins>the</ins> <ins>amount</ins> <ins>necessary</ins> <ins>to</ins> <ins>place</ins> <ins>the</ins>
15091514
<ins>top</ins> <ins>border</ins> <ins>edge</ins> <ins>below</ins> <ins>the</ins> <ins>bottom</ins> <ins>outer</ins> <ins>edge</ins> <ins>of</ins> <ins>any</ins> <ins>right-floating</ins>
1510-
<ins>and</ins> <ins>left-floating</ins> <ins>boxes</ins> <ins>that</ins> <ins>resulted</ins> <ins>from</ins> <ins>elements</ins> <ins>earlier</ins> <ins>in</ins> <ins>the</ins>
1515+
<ins>and</ins> <ins>left-floating</ins> <ins>boxes</ins> that <ins>resulted</ins> <ins>from</ins> <ins>elements</ins> <ins>earlier</ins> <ins>in</ins> <ins>the</ins>
15111516
<ins>source</ins> <ins>document.</ins>
15121517
</dd>
15131518

@@ -1517,7 +1522,7 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
15171522
</dl>
15181523

15191524
<p>
1520-
<ins>Computing</ins> <ins>the</ins> <ins>clearance</ins> <ins>of</ins> <ins>an</ins> <ins>element</ins> <ins>on</ins> <ins>which</ins> <ins>'clear'</ins> <ins>is</ins> <ins>set</ins> <ins>is</ins> <ins>done</ins> <ins>by</ins> <ins>first</ins> <ins>determining</ins> <ins>the</ins> <ins>hypothetical</ins> <ins>position</ins> <ins>of</ins> <ins>the</ins> <ins>element's</ins> <ins>top</ins> <ins>border</ins> <ins>edge</ins> <ins>within</ins> <ins>its</ins> <ins>parent</ins> <ins>block.</ins> <ins>This</ins> <ins>position</ins> <ins>is</ins> <ins>determined</ins> <ins>after</ins> <ins>the</ins> <ins>top</ins> <ins>margin</ins> <ins>of</ins> <ins>the</ins> <ins>element</ins> <ins>has</ins> <ins>been</ins> <ins>collapsed</ins> <ins>with</ins> <ins>previous</ins> <ins>adjacent</ins> <ins>margins</ins> <ins>(including</ins> <ins>the</ins> <ins>top</ins> <ins>margin</ins> <ins>of</ins> <ins>the</ins> <ins>parent</ins> <ins>block).</ins>
1525+
<ins>Computing</ins> <ins>the</ins> <ins>clearance</ins> <ins>of</ins> <ins>an</ins> <ins>element</ins> <ins>on</ins> <ins>which</ins> <ins>'clear'</ins> <ins>is</ins> <ins>set</ins> <ins>is</ins> <ins>done</ins> <ins>by</ins> <ins>first</ins> <ins>determining</ins> <ins>the</ins> <ins>hypothetical</ins> <ins>position</ins> <ins>of</ins> the <ins>element's</ins> top border edge <ins>within</ins> <ins>its</ins> <ins>parent</ins> <ins>block.</ins> <ins>This</ins> <ins>position</ins> is <del>below</del><ins>determined</ins> <ins>after</ins> <ins>the</ins> <ins>top</ins> <ins>margin</ins> <ins>of</ins> <ins>the</ins> <ins>element</ins> <ins>has</ins> <ins>been</ins> <ins>collapsed</ins> <ins>with</ins> <ins>previous</ins> <ins>adjacent</ins> <ins>margins</ins> <ins>(including</ins> <ins>the</ins> <ins>top</ins> <ins>margin</ins> <ins>of</ins> <ins>the</ins> <ins>parent</ins> <ins>block).</ins>
15211526
</p>
15221527
<p>
15231528
<ins>If</ins> <ins>this</ins> <ins>hypothetical</ins> <ins>position</ins> <ins>of</ins> <ins>the</ins> <ins>element's</ins> <ins>top</ins> <ins>border</ins> <ins>edge</ins> <ins>is</ins> <ins>not</ins>
@@ -1526,7 +1531,7 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
15261531
</p>
15271532
<ol>
15281533
<li><ins>The</ins> <ins>amount</ins> <ins>necessary</ins> <ins>to</ins> <ins>place</ins> <ins>the</ins> <ins>border</ins> <ins>edge</ins> <ins>of</ins> <ins>the</ins> <ins>block</ins> <ins>even</ins>
1529-
<ins>with</ins> <ins>the</ins> <ins>bottom</ins> <ins>outer</ins> <ins>edge</ins> <ins>of</ins> <ins>the</ins> <ins>lowest</ins> <ins>float</ins> that <ins>is</ins> <ins>to</ins> <ins>be</ins>
1534+
<ins>with</ins> <ins>the</ins> <ins>bottom</ins> <ins>outer</ins> <ins>edge</ins> <ins>of</ins> <ins>the</ins> <ins>lowest</ins> <ins>float</ins> <ins>that</ins> <ins>is</ins> <ins>to</ins> <ins>be</ins>
15301535
<ins>cleared.</ins>
15311536

15321537
<li><ins>The</ins> <ins>amount</ins> <ins>necessary</ins> <ins>to</ins> <ins>make</ins> <ins>the</ins> <ins>sum</ins> <ins>of</ins> <ins>the</ins> <ins>following</ins> <ins>equal</ins> <ins>to</ins>
@@ -1537,8 +1542,8 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
15371542

15381543
<li><ins>the</ins> <ins>clearance</ins> <ins>itself</ins>
15391544

1540-
<li><ins>if</ins> <ins>the</ins> <ins>block's</ins> <ins>own</ins> <ins>margins</ins> <ins>collapse</ins> <ins>together:</ins> the <ins>block's</ins> top
1541-
<del>border</del> <del>edge</del> <del>is</del> <del>below</del> <del>the</del> <del>bottom</del> <del>outer</del> <del>edge</del> <del>of</del> <del>any</del> <del>right-floating</del> <del>boxes</del> <del>that</del> <del>resulted</del> <del>from</del> <del>elements</del> <del>earlier</del> <del>in</del><ins>margin</ins>
1545+
<li><ins>if</ins> <ins>the</ins> <ins>block's</ins> <ins>own</ins> <ins>margins</ins> <ins>collapse</ins> <ins>together:</ins> the <del>bottom</del> <del>outer</del> <del>edge</del> <del>of</del> <del>any</del> <del>right-floating</del> <del>boxes</del> <del>that</del> <del>resulted</del> <del>from</del> <del>elements</del> <del>earlier</del> <del>in</del><ins>block's</ins> <ins>top</ins>
1546+
<ins>margin</ins>
15421547

15431548
<li><ins>if</ins> the <del>source</del> <del>document.</del> <del>both</del><ins>block's</ins> <ins>own</ins> <ins>margins</ins> <ins>do</ins> <ins>not</ins> <ins>collapse</ins> <ins>together:</ins> the
15441549
<del>generated</del> <del>box</del> <del>is</del> <del>moved</del><ins>margins</ins> <ins>collapsing</ins> below <del>all</del> <del>floating</del> <del>boxes</del> <del>of</del> <del>earlier</del> <del>elements</del> <del>in</del>the <del>source</del> <del>document..</del> <del>none</del> <del>No</del> <del>constraint</del> <del>on</del><ins>clearance</ins>

css2/diffs-wd/visuren.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,8 @@ <h3 id="block-formatting"><a name="q15">9.4.1 Block formatting contexts</a></h3>
872872
edges touch). This is true even in the presence of floats (although a
873873
box's <em>line boxes</em> may shrink due to the floats), unless the box
874874
establishes a new block formatting context (in which case the box itself
875-
<em>may</em> become narrower due to the floats).
875+
<a href="#bfc-next-to-float"><em>may</em> become narrower</a> due to
876+
the floats).
876877
</p>
877878

878879
<p>For information about page breaks in paged media, please consult
@@ -1158,13 +1159,17 @@ <h2>9.5 <a name="floats">Floats</a></h2>
11581159
on the line before a left float is encountered that fits in the remaining line box space,
11591160
the left float is placed on that line, aligned with the top of the line box, and then the inline boxes already on the line are moved accordingly to the right of the float (the right being the other side of the left float) and vice versa for rtl and right floats.
11601161
</p>
1161-
<p>
1162+
<p id="bfc-next-to-float">
11621163
The <del>margin</del><ins>border</ins> box of a table, a block-level replaced element, or an element in the normal flow that establishes a new <a href="visuren.html#block-formatting">block formatting context</a>
11631164
(such as an element with 'overflow' other than 'visible')
11641165
must not overlap any floats in the same block formatting context as
11651166
the element itself. If necessary, implementations should clear the
11661167
said element by placing it below any preceding floats, but may place
11671168
it adjacent to such floats if there is sufficient space.
1169+
<ins>They</ins> <ins>may</ins> <ins>even</ins> <ins>make</ins> <ins>the</ins> <ins>border</ins> <ins>box</ins> <ins>of</ins> <ins>said</ins> <ins>element</ins> <ins>narrower</ins> <ins>than</ins>
1170+
<ins>defined</ins> <ins>by</ins> <a href="visudet.html#blockwidth"><ins>section&nbsp;10.3.3.</ins></a>
1171+
<ins>CSS2</ins> <ins>does</ins> <ins>not</ins> <ins>define</ins> <ins>when</ins> <ins>a</ins> <ins>UA</ins> <ins>may</ins> <ins>put</ins> <ins>said</ins> <ins>element</ins> <ins>next</ins> <ins>to</ins> <ins>the</ins> <ins>float</ins>
1172+
<ins>or</ins> <ins>by</ins> <ins>how</ins> <ins>much</ins> <ins>said</ins> <ins>element</ins> <ins>may</ins> <ins>become</ins> <ins>narrower.</ins>
11681173
</p>
11691174
<div class="example"><P style="display:none">Example(s):</P>
11701175
<p><strong>Example.</strong>

css2/visuren.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,8 @@ <h3 id="block-formatting"><a name="q15">9.4.1 Block formatting contexts</a></h3>
872872
edges touch). This is true even in the presence of floats (although a
873873
box's <em>line boxes</em> may shrink due to the floats), unless the box
874874
establishes a new block formatting context (in which case the box itself
875-
<em>may</em> become narrower due to the floats).
875+
<a href="#bfc-next-to-float"><em>may</em> become narrower</a> due to
876+
the floats).
876877
</p>
877878

878879
<p>For information about page breaks in paged media, please consult
@@ -1158,13 +1159,17 @@ <h2>9.5 <a name="floats">Floats</a></h2>
11581159
on the line before a left float is encountered that fits in the remaining line box space,
11591160
the left float is placed on that line, aligned with the top of the line box, and then the inline boxes already on the line are moved accordingly to the right of the float (the right being the other side of the left float) and vice versa for rtl and right floats.
11601161
</p>
1161-
<p>
1162+
<p id="bfc-next-to-float">
11621163
The border box of a table, a block-level replaced element, or an element in the normal flow that establishes a new <a href="visuren.html#block-formatting">block formatting context</a>
11631164
(such as an element with 'overflow' other than 'visible')
11641165
must not overlap any floats in the same block formatting context as
11651166
the element itself. If necessary, implementations should clear the
11661167
said element by placing it below any preceding floats, but may place
11671168
it adjacent to such floats if there is sufficient space.
1169+
They may even make the border box of said element narrower than
1170+
defined by <a href="visudet.html#blockwidth">section&nbsp;10.3.3.</a>
1171+
CSS2 does not define when a UA may put said element next to the float
1172+
or by how much said element may become narrower.
11681173
</p>
11691174
<div class="example"><P style="display:none">Example(s):</P>
11701175
<p><strong>Example.</strong>

0 commit comments

Comments
 (0)