Skip to content

Commit 50e7078

Browse files
committed
[css2] Better text (closer to last WD) for issue 215.
http://wiki.csswg.org/spec/css2.1#issue-215 --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403178
1 parent 4f45fd5 commit 50e7078

1 file changed

Lines changed: 21 additions & 10 deletions

File tree

css2/visudet.src

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: visudet.src,v 2.161 2011-03-23 21:13:32 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.162 2011-03-24 16:21:45 bbos Exp $ -->
44
<head>
55
<title>Visual formatting model details</title>
66
<style type="text/css">
@@ -44,17 +44,28 @@ established by the <a href="visuren.html#viewport">viewport</a>
4444
in the case of continuous media or the page area in the case of paged media.
4545
</li>
4646
<li>If the element has 'position: absolute', the containing block is
47-
the smallest rectangle that encloses the <a
48-
href="box.html#padding-edge">padding edges</a> of all boxes generated
49-
by the nearest
50-
ancestor with a <span class="propinst-position">'position'</span> of
51-
'absolute', 'relative' or 'fixed'. If there is no such ancestor, the
52-
containing block is the initial containing block. If the ancestor is
53-
block-level, only its principal box is taken into account. In
54-
CSS&nbsp;2.1, if the ancestor is an <a
55-
href="visuren#inline-level">inline-level element</a> that splits
47+
established by the nearest ancestor with a <span
48+
class="propinst-position">'position'</span> of 'absolute', 'relative'
49+
or 'fixed', in the following way:
50+
<ol>
51+
<li>In the case that the ancestor is an <a
52+
href="visuren#inline-level">inline-level element,</a> the containing
53+
block is the bounding box around the first and the last inline boxes
54+
generated for that element. In CSS&nbsp;2.1, if the inline-level
55+
element is split
5656
across multiple lines, the containing block is undefined.
5757
</li>
58+
<li>Otherwise, the containing block
59+
is formed by the <a href="box.html#padding-edge">padding edge</a> of
60+
<!-- we probably mean: the principal box of -->
61+
the ancestor.
62+
</li>
63+
</ol>
64+
65+
<p>If there is no such ancestor, the containing block is the initial
66+
containing block.
67+
</p>
68+
</li>
5869
</ol>
5970

6071
<p>In paged media, an absolutely positioned element is positioned

0 commit comments

Comments
 (0)