|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: visudet.src,v 2.115 2006-11-03 15:33:36 bbos Exp $ --> |
| 3 | +<!-- $Id: visudet.src,v 2.116 2007-03-28 23:34:44 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> |
@@ -311,6 +311,13 @@ value of <span class="propinst-width">'width'</span> is: |
311 | 311 |
|
312 | 312 | <blockquote><p>(used height) * (intrinsic ratio)</blockquote> |
313 | 313 |
|
| 314 | +<p>If 'height' and <span class="propinst-width">'width'</span> both |
| 315 | +have computed values of 'auto' and the element has an intrinsic ratio |
| 316 | +but no intrinsic height or width and the containing block's width |
| 317 | +doesn't itself depend on the replaced element's width, then the used |
| 318 | +value of 'width' is calculated from the constraint equation used for |
| 319 | +block-level, non-replaced elements in normal flow. |
| 320 | + |
314 | 321 | <p>Otherwise, if <span class="propinst-width">'width'</span> has a |
315 | 322 | computed value of 'auto', but none of the conditions above are met, |
316 | 323 | then the used value of <span class="propinst-width">'width'</span> |
@@ -938,8 +945,13 @@ class="propinst-width">'width'</span> both have computed values of |
938 | 945 | 'auto' and the element has no intrinsic height, but does have an |
939 | 946 | intrinsic width and intrinsic ratio; or if <span |
940 | 947 | class="propinst-height">'height'</span> has a computed value of |
941 | | -'auto', <span class="propinst-width">'width'</span> has some other |
942 | | -computed value, and the element does have an intrinsic ratio; then the |
| 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 |
943 | 955 | used value of <span class="propinst-height">'height'</span> is: |
944 | 956 |
|
945 | 957 | <blockquote><p>(used width) / (intrinsic ratio)</blockquote> |
|
0 commit comments