|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | 2 | <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 $ --> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
6 | 6 | <title>Visual formatting model details</title> |
@@ -798,7 +798,7 @@ select which measure of the font is used for the content height. |
798 | 798 | <p>The vertical padding, border and margin of an inline, non-replaced |
799 | 799 | box start at the top and bottom of the content area, not the <span |
800 | 800 | 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 |
802 | 802 | the height of the line box. |
803 | 803 | </p> |
804 | 804 | <p><a name="multi-font-inline-height"></a> If more than one font is |
@@ -832,6 +832,9 @@ class="propinst-height">'height'</span> is: |
832 | 832 | (intrinsic height) * ( (used width) / (intrinsic width) ) |
833 | 833 | </pre> |
834 | 834 |
|
| 835 | +<p>For 'inline' and 'inline-block' elements, the margin box is used |
| 836 | +when calculating the height of the line box. |
| 837 | + |
835 | 838 | <h3><a name="normal-block">Block-level non-replaced elements in normal |
836 | 839 | flow when 'overflow' computes to 'visible'</a></h3> |
837 | 840 |
|
@@ -1016,6 +1019,8 @@ those edges. Only floats that are children of the element itself or of |
1016 | 1019 | descendants in the normal flow are taken into account, e.g., floats |
1017 | 1020 | inside absolutely positioned descendants or other floats are not. |
1018 | 1021 | </p> |
| 1022 | +<p>For 'inline-block' elements, the margin box is used when calculating |
| 1023 | +the height of the line box. |
1019 | 1024 |
|
1020 | 1025 |
|
1021 | 1026 |
|
|
0 commit comments