W3C home > Mailing lists > Public > www-style@w3.org > June 2008

[CSS2.1] 'clear' and the static position of an absolutely positioned element

From: Mats Palmgren <mats.palmgren@bredband.net>
Date: Sun, 08 Jun 2008 12:39:56 +0100
Message-ID: <484BC50C.1030404@bredband.net>
To: www-style@w3.org

CSS 2.1, 10.6.4 says:
[...] the static position for 'top' is the distance from the top edge
of the containing block to the top margin edge of a hypothetical box
that would have been the first box of the element if its 'position'
property had been 'static' and 'float' had been 'none'.

I suggest we add /and 'clear' had been 'none'/ to that.

The suggested addition matches what most UAs do, with the exception
of IE7, but IE8 beta 1 seems to match other UAs now.  See [1] for
test details.

Thanks,
Mats Palmgren

[1]
https://bugzilla.mozilla.org/show_bug.cgi?id=390516
Received on Sunday, 8 June 2008 10:39:13 GMT

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