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>
2222in which the <a href="conform.html#root">root
2323element</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
2728block-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
3335class="propinst-position">'position'</span> other than 'static', in
3436the following way:
3537<ol>
@@ -48,8 +50,9 @@ the ancestor, and the bottom and right are the bottom and right
4850content 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