Skip to content

Commit e130fc0

Browse files
committed
[css2] FIXED: for fixed positioning containing block established by viewport. other fixes suggested by Robert Stevahn + added links
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401673
1 parent 3cfd882 commit e130fc0

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

css2/visudet.src

Lines changed: 12 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.42 1998-05-06 02:28:41 ijacobs Exp $ -->
3+
<!-- $Id: visudet.src,v 2.43 1998-05-08 16:28:35 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual formatting model details</TITLE>
@@ -22,14 +22,16 @@ is defined as follows:</p>
2222
in which the <a href="conform.html#root">root
2323
element</a> lives is chosen by the user agent.
2424

25-
<li>For other elements, unless the element is absolutely positioned,
26-
the containing block is formed by the content edge of the youngest
25+
<li>For other elements, unless the element is <a
26+
href="visuren.html#absolutely-positioned">absolutely positioned</a>,
27+
the containing block is formed by the content edge of the nearest
2728
block-level ancestor box.
2829

29-
<li>If the element is absolutely positioned (i.e., the <span
30-
class="propinst-position">'position'</span> property of the element is
31-
either 'fixed' or 'absolute'), the containing block is established by
32-
the youngest ancestor with a <span
30+
<li>If the element has 'position: fixed', the containing block is
31+
established by the <a href="visuren.html#viewport">viewport</A>.
32+
33+
<li>If the element has 'position: absolute', the containing block is
34+
established by the nearest ancestor with a <span
3335
class="propinst-position">'position'</span> other than 'static', in
3436
the following way:
3537
<ol>
@@ -48,8 +50,9 @@ the ancestor, and the bottom and right are the bottom and right
4850
content edges of the last box of the ancestor.
4951

5052
<li>If the <span class="propinst-direction">'direction'</span> is 'rtl', the top and right are the top and
51-
right edges of the first box of the ancestor, and the bottom and left
52-
are the bottom and left content edges of the ancestor.
53+
right edges of the first box generated by the
54+
ancestor, and the bottom and left
55+
are the bottom and left content edges of the last box of the ancestor.
5356
</ol>
5457
</ol>
5558

0 commit comments

Comments
 (0)