Skip to content

Commit e1ce41a

Browse files
committed
[css2] Text for issues 1 and 19 were was inserted in the wrong place. Corrected.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402246
1 parent bbb3c79 commit e1ce41a

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

css2/box.src

Lines changed: 5 additions & 4 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.57 2004-03-08 18:35:19 bbos Exp $ -->
5+
<!-- $Id: box.src,v 1.58 2004-03-09 01:19:30 bbos Exp $ -->
66
<HEAD>
77
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
88
<TITLE>Box model</TITLE>
@@ -210,14 +210,15 @@ margins</a> for behavior.
210210
implementation-specific limits.
211211

212212
<!-- #include src=properties/margin-top.srb -->
213+
214+
<p class="note">These properties have no effect on non-replaced inline
215+
elements.</p>
216+
213217
<!-- #include src=properties/margin-right.srb -->
214218

215219
<P>These properties set the top, right, bottom, and left margin of a
216220
box.
217221

218-
<p class="note">These properties have no effect on non-replaced inline
219-
elements.</p>
220-
221222
<div class="example"><P>
222223
<PRE>
223224
h1 { margin-top: 2em }

css2/visudet.src

Lines changed: 4 additions & 3 deletions
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: visudet.src,v 2.96 2004-03-08 18:41:35 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.97 2004-03-09 01:19:30 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Visual formatting model details</title>
@@ -992,6 +992,9 @@ their used value is 0. If <span
992992
class="propinst-height">'height'</span> is 'auto', the <a
993993
href="#root-height">height depends on the element's descendants.</a>
994994

995+
<p>For 'inline-block' elements, the margin box is used when calculating
996+
the height of the line box.
997+
995998

996999
<h3><a name="root-height">'Auto' heights for block formatting context
9971000
roots</a></h3>
@@ -1019,8 +1022,6 @@ those edges. Only floats that are children of the element itself or of
10191022
descendants in the normal flow are taken into account, e.g., floats
10201023
inside absolutely positioned descendants or other floats are not.
10211024
</p>
1022-
<p>For 'inline-block' elements, the margin box is used when calculating
1023-
the height of the line box.
10241025

10251026

10261027

0 commit comments

Comments
 (0)