Skip to content

Commit d98cee8

Browse files
committed
[css2] Issue 117
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402991
1 parent 72acb70 commit d98cee8

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

css2/visudet.src

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: visudet.src,v 2.139 2010-07-02 17:07:42 fantasai Exp $ -->
3+
<!-- $Id: visudet.src,v 2.140 2010-07-07 16:09:48 bbos Exp $ -->
44
<head>
55
<title>Visual formatting model details</title>
66
<style type="text/css">
@@ -1285,19 +1285,19 @@ class="propinst-line-height">'line-height'</span> property).
12851285
</li>
12861286
<li>The inline boxes are aligned vertically according
12871287
to their <span class="propinst-vertical-align">'vertical-align'</span>
1288-
property. <!-- If an element
1289-
has the values <span class="propinst-top">'top'</span> or <span class="propinst-bottom">'bottom'</span> for this property, only
1290-
the height of the generated boxes affects the line box
1291-
height calculation; the boxes cannot be aligned until the
1292-
line box has been fully constructed. -->
1288+
property.
1289+
1290+
In case they are aligned 'top' or 'bottom', they must be aligned so as
1291+
to minimize the line box height. If such boxes are tall enough, there
1292+
are multiple solutions and CSS&nbsp;2.1 does not define the position
1293+
of the line box's baseline (i.e., the position of the <a
1294+
href="#strut">strut, see below</a>).
12931295
</li>
12941296
<li>The line box height is the distance between the uppermost
1295-
box top and the lowermost box bottom.
1297+
box top and the lowermost box bottom. (This includes the <a
1298+
href="#strut">strut,</a> as explained under <span
1299+
class="propinst-line-height">'line-height'</span> below.)
12961300
</li>
1297-
<li>If the resulting height is smaller than the minimal height of line
1298-
boxes for this block, as specified by the <span
1299-
class=propinst-line-height>'line-height'</span> property, the height is
1300-
increased to be that minimal height.</li>
13011301
</ol>
13021302

13031303
<p>Empty inline elements generate empty inline boxes, but these boxes
@@ -1395,6 +1395,10 @@ line box starts with a <a name="strut">zero-width inline box with the
13951395
block's font and line height properties (what T<sub>E</sub>X calls a
13961396
"strut").</a>
13971397
</p>
1398+
<p>The height and depth of the font above and below the baseline are
1399+
assumed to be metrics that are contained in the font. (For more
1400+
details, see CSS level&nbsp;3.)
1401+
13981402
<p>On an <a
13991403
href="visuren.html#inline-level">inline-level</a> element, 'line-height'
14001404
specifies the height that is used in the calculation of the line box

0 commit comments

Comments
 (0)