|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: visudet.src,v 2.124 2008-02-26 16:52:51 bbos Exp $ --> |
| 3 | +<!-- $Id: visudet.src,v 2.125 2008-03-05 15:36:29 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> |
@@ -435,6 +435,11 @@ to the position an element would have had in the normal flow. More |
435 | 435 | precisely: |
436 | 436 | </p> |
437 | 437 | <ul> |
| 438 | +<li>The <dfn>static-position containing block</dfn> is the containing |
| 439 | +block of a hypothetical box that would have been the first box of the |
| 440 | +element if its 'position' property had been 'static' and its 'float' |
| 441 | +had been 'none'. |
| 442 | +</li> |
438 | 443 | <li>The static position for 'left' is the distance from the left edge |
439 | 444 | of the containing block to the left margin edge of a hypothetical box |
440 | 445 | that would have been the first box of the element if its <span |
@@ -470,7 +475,8 @@ elements is:</p> |
470 | 475 |
|
471 | 476 | <p>If all three of 'left', 'width', and 'right' are 'auto': First set |
472 | 477 | any 'auto' values for 'margin-left' and 'margin-right' to 0. Then, if |
473 | | -the 'direction' property of the containing block is 'ltr' set 'left' |
| 478 | +the 'direction' property of the element establishing the |
| 479 | +static-position containing block is 'ltr' set 'left' |
474 | 480 | to the <a |
475 | 481 | href="#static-position">static position</a> and apply rule number |
476 | 482 | three below; otherwise, set 'right' to the <a |
@@ -499,7 +505,8 @@ to 0, and pick the one of the following six rules that applies.</p> |
499 | 505 | width is shrink-to-fit. Then solve for 'left'</li> |
500 | 506 |
|
501 | 507 | <li>'left' and 'right' are 'auto' and 'width' is not 'auto', then if |
502 | | -the 'direction' property of the containing block is 'ltr' set 'left' |
| 508 | +the 'direction' property of the element establishing the |
| 509 | +static-position containing block is 'ltr' set 'left' |
503 | 510 | to the <a |
504 | 511 | href="#static-position">static position</a>, otherwise set 'right' |
505 | 512 | to the <a href="#static-position">static position</a>. Then solve |
@@ -546,7 +553,8 @@ elements</a>. |
546 | 553 | </li> |
547 | 554 | <li>If both <span class="propinst-left">'left'</span> and <span |
548 | 555 | class="propinst-right">'right'</span> have the value 'auto', then if |
549 | | -'direction' of the containing block is 'ltr', set <span |
| 556 | +the 'direction' property of the element establishing the |
| 557 | +static-position containing block is 'ltr', set <span |
550 | 558 | class="propinst-left">'left'</span> to |
551 | 559 | the static position; else if 'direction' is 'rtl', set <span |
552 | 560 | class="propinst-right">'right'</span> to the static position. |
|
0 commit comments