Skip to content

Commit d5d761f

Browse files
committed
[css2] Reverted change to containing block definition and added that
percentage height on root may refer to viewport. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401899
1 parent e074e32 commit d5d761f

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

css2/visudet.src

Lines changed: 8 additions & 9 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.53 2002-07-25 19:07:37 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.54 2002-07-25 20:29:46 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual formatting model details</TITLE>
@@ -21,10 +21,7 @@ is defined as follows:</p>
2121
<ol>
2222
<li>The containing block
2323
in which the <a href="conform.html#root">root
24-
element</a> lives is chosen by the user agent. It is suggested that
25-
UAs use a rectangle with the width and height of the viewport
26-
excluding scrolling mechanisms, anchored at the origin of the infinite
27-
canvas.
24+
element</a> lives is chosen by the user agent.
2825

2926
<li>For other elements, if the element's position is 'relative' or 'static',
3027
the containing block is formed by the content edge of the nearest
@@ -61,10 +58,8 @@ are the bottom and left content edges of the last box of the ancestor.
6158
</ol>
6259
</ol>
6360

64-
<p>If there is no such ancestor, the contianing block is UA dependent,
65-
but it is suggested that UAs use a rectangle with the width and height
66-
of the viewport excluding scrolling mechanisms, anchored at the origin
67-
of the infinite canvas.
61+
<p>If there is no such ancestor, the content edge of the root element's
62+
box establishes the containing block.
6863
</ol>
6964

7065
<div class="example">
@@ -559,6 +554,10 @@ value is interpreted like 'auto'.
559554
See the prose below.
560555
</dl>
561556

557+
<p>A UA may compute a percentage height on the <a
558+
href="conform.html#root">root element</a> relative to the <a
559+
href="visuren.html#viewport">viewport</a>.
560+
562561
<P>Negative values for <span class="propinst-height">'height'</span>
563562
are illegal.
564563

0 commit comments

Comments
 (0)