Skip to content

Commit 7d9bf3a

Browse files
committed
[css2] Added Ian's propsoed text about where the top of an element is assumed
to be (for use by floating and absolutely positioned children), if the element is empty and its top and bottom margins collapse. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402093
1 parent 033a48d commit 7d9bf3a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

css2/box.src

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: box.src,v 1.33 2003-05-04 22:43:22 bbos Exp $ -->
3+
<!-- $Id: box.src,v 1.34 2003-06-05 17:33:32 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Box model</TITLE>
@@ -298,6 +298,13 @@ href="visuren.html#absolutely-positioned">absolutely</a>
298298
positioned boxes do not collapse (not even with their
299299
in-flow children).
300300

301+
<ins>
302+
<!-- suggested in http://lists.w3.org/Archives/Member/w3c-css-wg/2002OctDec/0022.html -->
303+
<li>If the top and bottom margins of a box are adjacent, then it is
304+
possible for margins to collapse <em>through</em> it. In this case,
305+
the top of the box is defined to be where it would have been if the
306+
box's margins had not been adjacent.
307+
</ins>
301308
</ul>
302309

303310
<p>Collapsing is based on the <em>computed value</em> of <span

0 commit comments

Comments
 (0)