W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Containing blocks of descendants of relatively positioned inline elements

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Mon, 17 Jan 2000 04:37:10 -0800 (PST)
Message-ID: <20000117123710.26444.qmail@web903.mail.yahoo.com>
To: www-style <www-style@w3.org>
There is a contradiction in the spec:
<q cite="http://www.w3.org/TR/REC-CSS2/visuren.html#relative-positioning">
A relatively positioned box establishes a new a new [sic] containing block
for normal flow children and positioned descendants.
</q>
cf.
<q
cite="http://www.w3.org/TR/REC-CSS2/visudet.html#containing-block-details">
The containing block (called the initial containing block) in which the
root element lives is chosen by the user agent.
For other elements, unless the element is absolutely positioned, the
containing block is formed by the content edge of the nearest block-level
ancestor box.
</q>

Since, unlike absolutely positioned elements, relatively positioned boxes
may be inline-level, the statements cannot stand together.



=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Monday, 17 January 2000 07:37:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:02 GMT