Skip to content

Commit d8958f2

Browse files
committed
[css2] Fixed bug, found by Dave Hyatt: the clearance on the *child* keeps the
child and parent margins from collapsing. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402162
1 parent d25c7e9 commit d8958f2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

css2/box.src

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'http://www.w3.org/TR/html4/strict.dtd'>
33

44
<html lang="en">
5-
<!-- $Id: box.src,v 1.45 2003-08-27 20:08:09 bbos Exp $ -->
5+
<!-- $Id: box.src,v 1.46 2003-08-28 02:24:05 bbos Exp $ -->
66
<HEAD>
77
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
88
<TITLE>Box model</TITLE>
@@ -331,11 +331,12 @@ elements.</p>
331331

332332
<p>The bottom margin of an in-flow block-level element is always
333333
adjoining to the top margin of its next in-flow block-level
334-
sibling, unless that sibling has clearance.</p>
334+
sibling, unless that sibling has <a
335+
href="visuren.html#clearance">clearance.</a></p>
335336

336337
<p>The top margin of an in-flow block-level element is adjoining to
337338
its first in-flow block-level child's top margin if the element has no
338-
top border, no top padding, and no <a
339+
top border, no top padding, and the child has no <a
339340
href="visuren.html#clearance">clearance.</a></p>
340341

341342
<p>The bottom margin of an in-flow block-level element with a <span

0 commit comments

Comments
 (0)