Skip to content

Commit 8556948

Browse files
committed
[css2] Fixed broken link. Explicitly mentioned replaced elts as an exception
to the rule that margins do not influence line height. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401590
1 parent d2897fc commit 8556948

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

css2/visudet.src

Lines changed: 9 additions & 7 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.36 1998-04-30 19:59:16 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.37 1998-04-30 21:05:51 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual formatting model details</TITLE>
@@ -741,9 +741,10 @@ href="visuren.html#line-box">line boxes</a>. The height of a line box
741741
is determined as follows:</p>
742742

743743
<ol>
744-
<li>The height of each inline box in the line box is calculated
745-
(see <a href="#box-height">box height calculations</a> and the
746-
<span class="propinst-line-height">'line-height'</span> property).
744+
<li>The height of each inline box in the line box is calculated (see
745+
<a href="#Computing_heights_and_margins">"Computing heights and
746+
margins"</a> and the <span
747+
class="propinst-line-height">'line-height'</span> property).
747748

748749
<li>The inline boxes are aligned vertically according
749750
to their <span class="propinst-vertical-align">'vertical-align'</span>
@@ -793,10 +794,11 @@ less than the font size and the rendered glyphs will "bleed" outside
793794
the box. If such a box touches the edge of a line box, the rendered
794795
glyphs will also "bleed" into the adjacent line box.
795796

796-
<P>Although margins, borders, and padding do not enter into inline
797+
<P>Although margins, borders, and padding of non-replaced elements do
798+
not enter into inline
797799
box height calculation (and thus the line box calculation), they are
798-
still rendered around inline boxes (except where boxes are split
799-
across lines). This means that if the height of a line box is shorter
800+
still rendered around inline boxes<!-- (except where boxes are split
801+
across lines)-->. This means that if the height of a line box is shorter
800802
than the <a href="box.html#outer-edge">outer edges</a> of the boxes it
801803
contains, backgrounds and colors of padding and borders may "bleed"
802804
into adjacent line boxes. However, in this case, some user agents may

0 commit comments

Comments
 (0)