|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | 2 | <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 $ --> |
4 | 4 | <head> |
5 | 5 | <title>Visual formatting model details</title> |
6 | 6 | <style type="text/css"> |
@@ -1285,19 +1285,19 @@ class="propinst-line-height">'line-height'</span> property). |
1285 | 1285 | </li> |
1286 | 1286 | <li>The inline boxes are aligned vertically according |
1287 | 1287 | 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 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>). |
1293 | 1295 | </li> |
1294 | 1296 | <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.) |
1296 | 1300 | </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> |
1301 | 1301 | </ol> |
1302 | 1302 |
|
1303 | 1303 | <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 |
1395 | 1395 | block's font and line height properties (what T<sub>E</sub>X calls a |
1396 | 1396 | "strut").</a> |
1397 | 1397 | </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 3.) |
| 1401 | + |
1398 | 1402 | <p>On an <a |
1399 | 1403 | href="visuren.html#inline-level">inline-level</a> element, 'line-height' |
1400 | 1404 | specifies the height that is used in the calculation of the line box |
|
0 commit comments