Skip to content

Commit bbb3c79

Browse files
committed
[css2] Reworded "used to calculate" to "used when calculating."
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402245
1 parent 0839a2b commit bbb3c79

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

css2/visudet.src

Lines changed: 7 additions & 2 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.95 2004-02-18 18:26:41 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.96 2004-03-08 18:41:35 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Visual formatting model details</title>
@@ -798,7 +798,7 @@ select which measure of the font is used for the content height.
798798
<p>The vertical padding, border and margin of an inline, non-replaced
799799
box start at the top and bottom of the content area, not the <span
800800
class="propinst-line-height">'line-height'</span>. But only the <span
801-
class="propinst-line-height">'line-height'</span> is used to calculate
801+
class="propinst-line-height">'line-height'</span> is used when calculating
802802
the height of the line box.
803803
</p>
804804
<p><a name="multi-font-inline-height"></a> If more than one font is
@@ -832,6 +832,9 @@ class="propinst-height">'height'</span> is:
832832
(intrinsic height) * ( (used width) / (intrinsic width) )
833833
</pre>
834834

835+
<p>For 'inline' and 'inline-block' elements, the margin box is used
836+
when calculating the height of the line box.
837+
835838
<h3><a name="normal-block">Block-level non-replaced elements in normal
836839
flow when 'overflow' computes to 'visible'</a></h3>
837840

@@ -1016,6 +1019,8 @@ those edges. Only floats that are children of the element itself or of
10161019
descendants in the normal flow are taken into account, e.g., floats
10171020
inside absolutely positioned descendants or other floats are not.
10181021
</p>
1022+
<p>For 'inline-block' elements, the margin box is used when calculating
1023+
the height of the line box.
10191024

10201025

10211026

0 commit comments

Comments
 (0)