|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: visudet.src,v 2.116 2007-03-28 23:34:44 bbos Exp $ --> |
| 3 | +<!-- $Id: visudet.src,v 2.117 2007-04-16 12:42:52 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> |
@@ -940,19 +940,9 @@ class="propinst-width">'width'</span> both have computed values of |
940 | 940 | intrinsic height is the used value of <span |
941 | 941 | class="propinst-height">'height'</span>. |
942 | 942 |
|
943 | | -<p>If <span class="propinst-height">'height'</span> and <span |
944 | | -class="propinst-width">'width'</span> both have computed values of |
945 | | -'auto' and the element has no intrinsic height, but does have an |
946 | | -intrinsic width and intrinsic ratio; or if <span |
947 | | -class="propinst-height">'height'</span> has a computed value of |
948 | | -'auto', and the element does have an intrinsic ratio; |
949 | | -or if <span class="propinst-height">'height'</span> |
950 | | -and <span class="propinst-width">'width'</span> both have computed |
951 | | -values of 'auto' and the element has an intrinsic ratio but no |
952 | | -intrinsic height or width and the containing block's width doesn't |
953 | | -itself depend on the replaced element's width; |
954 | | -then the |
955 | | -used value of <span class="propinst-height">'height'</span> is: |
| 943 | +<p>Otherwise, if <span class="propinst-height">'height'</span> has a |
| 944 | +computed value of 'auto', and the element has an intrinsic ratio then |
| 945 | +the used value of <span class="propinst-height">'height'</span> is: |
956 | 946 |
|
957 | 947 | <blockquote><p>(used width) / (intrinsic ratio)</blockquote> |
958 | 948 |
|
@@ -1007,9 +997,10 @@ element <a href="box.html#collapsing-margins">collapse</a> with those |
1007 | 997 | of the topmost and bottommost children, while in the second case the |
1008 | 998 | presence of the padding/border prevents the top margins from <a |
1009 | 999 | href="box.html#collapsing-margins">collapsing</a>.) Similarly, if the |
1010 | | -element has a non-zero bottom padding and/or bottom border, then the |
1011 | | -content ends at the bottom <em>margin</em> edge of the bottommost |
1012 | | -child. |
| 1000 | +bottom margin of the block does not collapse with the bottom margin of |
| 1001 | +its last in-flow child, then the content ends at the bottom margin |
| 1002 | +edge of the bottommost child. |
| 1003 | + |
1013 | 1004 |
|
1014 | 1005 | <p>Only children in the normal flow are taken into account (i.e., |
1015 | 1006 | floating boxes and absolutely positioned boxes are ignored, and |
@@ -1299,7 +1290,7 @@ box top and the lowermost box bottom. |
1299 | 1290 | </li> |
1300 | 1291 | <li>If the resulting height is smaller than the minimal height of line |
1301 | 1292 | boxes for this block, as specified by the <span |
1302 | | -class=propinst-line-height>line-height</span> property, the height is |
| 1293 | +class=propinst-line-height>'line-height'</span> property, the height is |
1303 | 1294 | increased to be that minimal height.</li> |
1304 | 1295 | </ol> |
1305 | 1296 |
|
|
0 commit comments