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.
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.

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.
Received on Monday, 17 January 2000 07:37:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:52 UTC