Skip to content

Commit 031963a

Browse files
committed
[css2] added inner and outer boerder edges
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40549
1 parent 6cc766d commit 031963a

1 file changed

Lines changed: 31 additions & 17 deletions

File tree

css2/visuren.src

Lines changed: 31 additions & 17 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: visuren.src,v 1.50 1997-12-12 01:19:58 howcome Exp $ -->
3+
<!-- $Id: visuren.src,v 1.51 1997-12-12 01:37:27 howcome Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual rendering model</TITLE>
@@ -96,21 +96,35 @@ i.e., the distance between left inner edge and right inner edge. The
9696
height of the element is the height of the content, i.e., the distance
9797
from inner top to inner bottom.
9898

99-
<P>The <EM>outer edge</EM> is the edge of an element including its
100-
padding, border, and margin. The <EM>inner edge</EM> is the edge of
101-
the content only, inside any padding, border or margin.
99+
<P>The <span class="index-def" title="outer edge, definition of"><a
100+
name="value-def-outer-edge"><EM>outer edge</EM></a></span> is the edge
101+
of an element including its padding, border, and margin. The <span
102+
class="index-def" title="inner edge, definition of"><a
103+
name="value-def-inner-edge"><EM>inner edge</EM></a></span> is the edge
104+
of the content only, inside any padding, border or margin.
102105

103106
<P>The <EM>top</EM> is the top of the object including any padding,
104-
border and margin; it is only defined for <a
105-
href="#inline">inline</a> and floating elements, not for
106-
non-floating block-level elements. The <EM>inner top</EM> is the top
107-
of the content, inside any padding, border or margin. The
108-
<EM>bottom</EM> is the bottom of the element, outside any padding
109-
border and margin; it is only defined for inline and <a
110-
href="#floats">floating elements</a>, not for non-floating
111-
<a href="#block-level">block-level</a> elements. The <EM>inner
112-
bottom</EM> is the bottom of the element, inside any padding, border
113-
and margin.
107+
border and margin; it is only defined for <a href="#inline">inline</a>
108+
and floating elements, not for non-floating block-level elements. The
109+
<span class="index-def" title="inner top, definition of"><a
110+
name="value-def-inner-top"><EM>inner top</EM></a></span> is the top of
111+
the content, inside any padding, border or margin. The <EM>bottom</EM>
112+
is the bottom of the element, outside any padding border and margin;
113+
it is only defined for inline and <a href="#floats">floating
114+
elements</a>, not for non-floating <a
115+
href="#block-level">block-level</a> elements. The <span
116+
class="index-def" title="inner bottom, definition of"><a
117+
name="value-def-inner-bottom"><EM>inner bottom</EM></a></span> is the
118+
bottom of the element, inside any padding, border and margin.
119+
120+
<P>The edge outside the border of an element is called the <span
121+
class="index-def" title="outer border edge, definition of"><a
122+
name="value-def-outer-border-edge"><EM>outer border
123+
edge</EM></a></span> and the edge inside the border of an element is
124+
called the <span class="index-def" title="inner border edge,
125+
definition of"><a name="value-def-inner-border-edge"><EM>inner border
126+
edge</EM></a></span>. If there is no border around the element, the
127+
inner and outer border edges are identical.
114128

115129
<P>In the following sections, we define the properties that allow
116130
authors to set margins, padding, and borders. There are no properties
@@ -912,9 +926,9 @@ determined from four properties:
912926

913927
<P>Each of these four properties specifies an offset between the
914928
containing block and the element which is being positioned. More
915-
specifically, values indicate the offset between the edge of the
916-
containing block and the corresponding content+padding+border box of the
917-
element that is being positioned.
929+
specifically, values indicate the offset between the inner border edge
930+
of the containing block and the outer border edge of the element that
931+
is being positioned.
918932

919933
<P>The values have the following meanings:
920934

0 commit comments

Comments
 (0)