Skip to content

Commit d60f298

Browse files
committed
[css2] Fixed a broken link. Added Ian's text about borders around bidi elements.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402041
1 parent 28d2719 commit d60f298

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

css2/box.src

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<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 $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Box model</TITLE>
@@ -636,7 +636,7 @@ h1 { border-bottom: thick solid red }
636636

637637
<P> The above rule will set the width, style, and color of the border
638638
<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
640640
the following rule does not specify a border color, the border will
641641
have the color specified by the <span class="propinst-color">
642642
'color'</span> property:
@@ -698,5 +698,25 @@ class="propinst-border-left">'border-left'</span> property is not
698698
relevant.
699699
</div>
700700

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+
701721
</BODY>
702722
</HTML>

0 commit comments

Comments
 (0)