Skip to content

Commit 8bbd80d

Browse files
committed
[css2] Added definition of initial CB and made that initial CB the CB for
abs. positioned elements. Changed example accordingly. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402001
1 parent d675fef commit 8bbd80d

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

css2/visudet.src

Lines changed: 12 additions & 8 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: visudet.src,v 2.60 2002-12-17 20:00:07 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.61 2003-01-10 21:30:21 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual formatting model details</TITLE>
@@ -27,7 +27,11 @@ is defined as follows:</p>
2727
<ol>
2828
<li>The containing block in which the <a href="conform.html#root">root
2929
element</a> lives is chosen by the user agent. (It could be related to
30-
the <a href="visuren.html#viewport">viewport</a>.)
30+
the <a href="visuren.html#viewport">viewport</a>.) This containing
31+
block is called the <dfn><span
32+
class="index-def"
33+
title="initial containing block|containing block::initial">initial
34+
containing block</span></dfn>.
3135

3236
<li>For other elements, if the element's position is 'relative' or 'static',
3337
the containing block is formed by the content edge of the nearest
@@ -64,8 +68,8 @@ are the bottom and left content edges of the last box of the ancestor.
6468
</ol>
6569
</ol>
6670

67-
<p>If there is no such ancestor, the content edge of the root element's
68-
box establishes the containing block.
71+
<p>If there is no such ancestor, the containing block is the initial
72+
containing block.
6973
</ol>
7074

7175
<div class="example">
@@ -93,7 +97,7 @@ following document:</p>
9397
<table border>
9498
<tr><th>For box generated by
9599
<td><strong>C.B. is established by</strong></tr>
96-
<tr><td>html<td>(UA-dependent)</tr>
100+
<tr><td>html<td>initial C.B. (UA-dependent)</tr>
97101
<tr><td>body<td>html</tr>
98102
<tr><td>div1<td>body</tr>
99103
<tr><td>p1<td>div1</tr>
@@ -109,7 +113,7 @@ following document:</p>
109113
</PRE>
110114

111115
<P>its containing block is no longer "body"; it becomes
112-
html (since there are no
116+
the initial containing block (since there are no
113117
other positioned ancestor boxes).
114118

115119
<P>If we position "em1" as well:</p>
@@ -124,9 +128,9 @@ other positioned ancestor boxes).
124128
<table border>
125129
<tr><th>For box generated by
126130
<td><strong>C.B. is established by</strong></tr>
127-
<tr><td>html<td>(UA-dependent)</tr>
131+
<tr><td>html<td>initial C.B. (UA-dependent)</tr>
128132
<tr><td>body<td>html</tr>
129-
<tr><td>div1<td>html</tr>
133+
<tr><td>div1<td>initial C.B.</tr>
130134
<tr><td>p1<td>div1</tr>
131135
<tr><td>p2<td>div1</tr>
132136
<tr><td>em1<td>div1</tr>

0 commit comments

Comments
 (0)