|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: box.src,v 1.28 2002-11-18 20:36:16 bbos Exp $ --> |
| 3 | +<!-- $Id: box.src,v 1.29 2003-01-27 21:01:03 bbos Exp $ --> |
4 | 4 | <HEAD> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
6 | 6 | <TITLE>Box model</TITLE> |
@@ -636,7 +636,7 @@ h1 { border-bottom: thick solid red } |
636 | 636 |
|
637 | 637 | <P> The above rule will set the width, style, and color of the border |
638 | 638 | <strong>below</strong> the H1 element. Omitted values are set to |
639 | | -their <a href="cascade.html#initial-value">initial values</a>. Since |
| 639 | +their <a href="about.html#initial-value">initial values</a>. Since |
640 | 640 | the following rule does not specify a border color, the border will |
641 | 641 | have the color specified by the <span class="propinst-color"> |
642 | 642 | 'color'</span> property: |
@@ -698,5 +698,25 @@ class="propinst-border-left">'border-left'</span> property is not |
698 | 698 | relevant. |
699 | 699 | </div> |
700 | 700 |
|
| 701 | + |
| 702 | +<h3>The border model for inline elements</h3> |
| 703 | + |
| 704 | +<p>For each line box, UAs must take the inline boxes generated for |
| 705 | +each element and render the borders and backgrounds in visual order |
| 706 | +(not logical order). The results (what part of the background is |
| 707 | +behind which element) may differ based on the line wrapping. |
| 708 | + |
| 709 | +<p>When the element's <span |
| 710 | +class=propinst-direction>'direction'</span> property is 'ltr', the |
| 711 | +left-most generated box of the first line box in which the element |
| 712 | +appears has a left border, and the right-most generated box of the |
| 713 | +last line box in which the element appears has a right border. |
| 714 | + |
| 715 | +<p>When the element's <span |
| 716 | +class=propinst-direction>'direction'</span> property is 'rtl', the |
| 717 | +right-most generated box of the first line box in which the element |
| 718 | +appears has a right border, and the left-most generated box of the |
| 719 | +left line box in which the element appears has a left border. |
| 720 | + |
701 | 721 | </BODY> |
702 | 722 | </HTML> |
0 commit comments