Skip to content

Commit ee43ceb

Browse files
committed
[css2] Issues 203 and 192.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403200
1 parent e92f3df commit ee43ceb

2 files changed

Lines changed: 44 additions & 9 deletions

File tree

css2/changes.src

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: changes.src,v 2.157 2011-03-26 15:16:34 bbos Exp $ -->
3+
<!-- $Id: changes.src,v 2.158 2011-03-30 17:48:50 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Changes</TITLE>
66
</HEAD>
@@ -7694,6 +7694,42 @@ recovery token {baduri}:
76947694
</pre>
76957695
</blockquote>
76967696

7697+
<!--========================== issue 203 ==========================-->
7698+
7699+
<h3 id="t.9.5.2c"><a
7700+
href="/TR/2009/CR-CSS2-20090908/visuren.html#flow-control">
7701+
Section&nbsp;9.5.2 Controlling flow next to floats: the 'clear'
7702+
property</a></h3>
7703+
7704+
<p>The top border edge is now well-defined in the section on
7705+
collapsing margins. That is the hypothetical position to use for
7706+
clearance:
7707+
7708+
<blockquote>
7709+
<p>This position is where the actual top border edge would have been
7710+
if the element <del>had a non-zero bottom border and its</del>
7711+
<ins>'s</ins> 'clear' property had been 'none'.
7712+
</blockquote>
7713+
7714+
<!--========================== issue 192 ==========================-->
7715+
7716+
<h3 id="t.9.5"><a
7717+
href="/TR/2009/CR-CSS2-20090908//visuren.html#floats">9.5
7718+
Floats</a></h3>
7719+
7720+
<p>Remove ambiguities:
7721+
7722+
<blockquote>
7723+
<p>If a shortened line box is too small to contain any content
7724+
<del>after the float</del>, then <del>that content</del> <ins>the line
7725+
box</ins> is shifted downward <ins>(and its width recomputed)</ins>
7726+
until either <del>it</del> <ins>some content</ins> fits or there are
7727+
no more floats present. Any content in the current line before a
7728+
floated box is reflowed in the <del>first available</del>
7729+
<ins>same</ins> line on the other side of the float.
7730+
</blockquote>
7731+
7732+
76977733

76987734
</BODY>
76997735
</HTML>

css2/visuren.src

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: visuren.src,v 2.190 2011-03-26 03:08:17 bbos Exp $ -->
3+
<!-- $Id: visuren.src,v 2.191 2011-03-30 17:49:31 bbos Exp $ -->
44
<head>
55
<title>Visual formatting model</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -973,12 +973,11 @@ of the float.
973973
<p class=note>Note: this means that floats with zero outer height or
974974
negative outer height do not shorten line boxes.
975975

976-
<p>If a shortened line box
977-
is too small to contain any content after the float, then that content
978-
is shifted downward until
979-
either it fits or there are no more floats present.
976+
<p>If a shortened line box is too small to contain any content, then
977+
the line box is shifted downward (and its width recomputed) until
978+
either some content fits or there are no more floats present.
980979
Any content in the current line before a floated box is reflowed
981-
in the first available line on the other side of the float.
980+
in the same line on the other side of the float.
982981
In other words, if inline-level boxes are placed
983982
on the line before a left float is encountered that fits in the remaining line box space,
984983
the left float is placed on that line, aligned with the top of the line box, and then the inline-level 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.
@@ -1321,8 +1320,8 @@ push the element vertically past the float.
13211320
<p>Computing the clearance of an element on which 'clear' is set is
13221321
done by first determining the hypothetical position of the element's
13231322
top border edge. This position is
1324-
where the actual top border edge would have been if the element
1325-
had a non-zero bottom border and its 'clear' property had been 'none'.
1323+
where the actual top border edge would have been if the element's
1324+
'clear' property had been 'none'.
13261325

13271326
<p>If this hypothetical position of the element's top border edge is
13281327
not past the relevant floats, then clearance is introduced, and

0 commit comments

Comments
 (0)