|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: visudet.src,v 2.92 2004-02-09 21:47:47 bbos Exp $ --> |
| 3 | +<!-- $Id: visudet.src,v 2.93 2004-02-10 17:23:55 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> |
@@ -361,9 +361,10 @@ where explicit line breaks occur, and also calculate the preferred |
361 | 361 | <em>minimum</em> width, e.g., by trying all possible line breaks. |
362 | 362 | CSS 2.1 does not define the exact algorithm. Thirdly, find the |
363 | 363 | <em>available width</em>: in this case, this is the width of the |
364 | | -containing block minus <span |
365 | | -class="propinst-margin-left">'margin-left'</span> and <span |
366 | | -class="propinst-margin-right">'margin-right'</span>. |
| 364 | +containing block minus minus the used values of 'margin-left', |
| 365 | +'border-left-width', 'padding-left', 'padding-right', |
| 366 | +'border-right-width', 'margin-right', and the widths of any relevant |
| 367 | +scroll bars. |
367 | 368 | </p> |
368 | 369 | <p>Then the shrink-to-fit width is: min(max(preferred minimum width, |
369 | 370 | available width), preferred width).</p> |
@@ -946,7 +947,7 @@ whose bottom margin |
946 | 947 | edge is below the bottom, then the height is increased to include |
947 | 948 | those edges. Only floats that are children of the element itself or of |
948 | 949 | descendants in the normal flow are taken into account, e.g., floats |
949 | | -inside absolutely positioned descendants are not. |
| 950 | +inside absolutely positioned descendants or other floats are not. |
950 | 951 | </p> |
951 | 952 |
|
952 | 953 |
|
|
0 commit comments