|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: visuren.src,v 2.73 1998-06-08 14:39:39 ijacobs Exp $ --> |
| 3 | +<!-- $Id: visuren.src,v 2.74 1998-09-28 23:20:44 ijacobs Exp $ --> |
4 | 4 | <HEAD> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
6 | 6 | <TITLE>Visual formatting model</TITLE> |
| 7 | +<!-- Changed by: Ian B. Jacobs, 28-Sep-1998 --> |
7 | 8 | </HEAD> |
8 | 9 | <BODY> |
9 | 10 | <H1 align="center">Visual formatting model</H1> |
@@ -631,26 +632,38 @@ positioned boxes, laid out according to four properties:</p> |
631 | 632 |
|
632 | 633 | <!-- #include src=properties/top.srb --> |
633 | 634 |
|
634 | | -<P>This property specifies how far a box's top content edge is offset below |
635 | | -the top edge of the box's <a href="#containing-block">containing block</a>. |
| 635 | +<P>This property specifies how far an <a |
| 636 | +href="#absolutely-positioned">absolutely positioned</a> box's top |
| 637 | +margin edge is offset below the top edge of the box's <a |
| 638 | +href="#containing-block">containing block</a>. For relatively |
| 639 | +positioned boxes, the offset is with respect to the top edges of the |
| 640 | +box itself (i.e., the box is given a position in the normal flow, then |
| 641 | +offset from that position according to these properties). |
636 | 642 |
|
637 | 643 | <!-- #include src=properties/right.srb --> |
638 | 644 |
|
639 | | -<P>This property specifies how far a box's right content edge is offset |
640 | | -to the left of the right edge of the box's <a |
641 | | -href="#containing-block">containing block</a>. |
| 645 | +<P>Like 'top', but specifies how far a box's right margin edge is |
| 646 | +offset to the left of the right edge of the box's <a |
| 647 | +href="#containing-block">containing block</a>. For relatively |
| 648 | +positioned boxes, the offset is with respect to the right edge of the |
| 649 | +box itself. |
| 650 | + |
642 | 651 |
|
643 | 652 | <!-- #include src=properties/bottom.srb --> |
644 | 653 |
|
645 | | -<P>This property specifies how far a box's bottom content edge is offset |
646 | | -above the bottom of the box's <a href="#containing-block">containing |
647 | | -block</a>. |
| 654 | +<P>Like 'top', but specifies how far a box's bottom margin edge is |
| 655 | +offset above the bottom of the box's <a |
| 656 | +href="#containing-block">containing block</a>. For relatively |
| 657 | +positioned boxes, the offset is with respect to the bottom edge of the |
| 658 | +box itself. |
648 | 659 |
|
649 | 660 | <!-- #include src=properties/left.srb --> |
650 | 661 |
|
651 | | -<P>This property specifies how far a box's left content edge is offset |
652 | | -to the right of the left edge of the box's <a |
653 | | -href="#containing-block">containing block</a>. |
| 662 | +<P>Like 'top', but specifies how far a box's left margin edge is |
| 663 | +offset to the right of the left edge of the box's <a |
| 664 | +href="#containing-block">containing block</a>. For relatively |
| 665 | +positioned boxes, the offset is with respect to the left edge of the |
| 666 | +box itself. |
654 | 667 |
|
655 | 668 | <P>The values for the four properties have the following meanings:</p> |
656 | 669 |
|
@@ -678,13 +691,6 @@ of <a href="#absolutely-positioned">absolutely positioned</a>, |
678 | 691 | non-replaced elements for details. |
679 | 692 | </dl> |
680 | 693 |
|
681 | | -<P>For <a href="#absolutely-positioned">absolutely positioned</a> |
682 | | -boxes, the offsets are with respect to the box's <a |
683 | | -href="#containing-block">containing block</a>. For relatively |
684 | | -positioned boxes, the offsets are with respect to the outer edges of |
685 | | -the box itself (i.e., the box is given a position in the normal flow, |
686 | | -then offset from that position according to these properties). |
687 | | - |
688 | 694 | <H2><a name="normal-flow">Normal flow</a></H2> |
689 | 695 |
|
690 | 696 | <P>Boxes in the normal flow belong to a <span class="index-def" |
@@ -761,9 +767,10 @@ inline boxes as well. |
761 | 767 | <P>Since an inline box may not exceed the width of a line box, long |
762 | 768 | inline boxes are split into several boxes and these boxes distributed |
763 | 769 | across several line boxes. When an inline box is split, margins, |
764 | | -borders, and padding have no visual effect where the split occurs. |
765 | | -Formatting of margins, borders, and padding may not be fully defined if |
766 | | -the split occurs within a bidirectional embedding. |
| 770 | +borders, and padding have no visual effect where the split occurs (or |
| 771 | +at any split, when there are several). Formatting of margins, |
| 772 | +borders, and padding may not be fully defined if the split occurs |
| 773 | +within a bidirectional embedding. |
767 | 774 |
|
768 | 775 | <P>Inline boxes may also be split into several boxes <em>within the |
769 | 776 | same line box</em> due to <a href="#direction">bidirectional text |
|
0 commit comments