W3C home > Mailing lists > Public > www-style@w3.org > November 2002

Re: Being clear about clear

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 20 Nov 2002 12:38:06 +0000 (GMT)
To: Tom Gilder <tom@tom.me.uk>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.21.0211201202400.18728-100000@dhalsim.dreamhost.com>

On Wed, 20 Nov 2002, Tom Gilder wrote:
> 
> OK, take an example like http://tom.me.uk/2002/11/clear-test-1.html.
> As far as I read CSS 2, that should actually be rendered with the
> cleared text vertically below the floated text.

As I understand it, it is the intention of the working group that floats
in one "rendering context" may not affect floats in another "rendering
context", where "rendering contexts" are formed by the root element, by
floats, by absolutely positioned content, and by cells and captions.

This should probably be made clearer in CSS2.1.


> I mean. I originally found that Opera 7 beta 1 rendered the image on
> http://tom.me.uk/2002/11/op7-float-test.html different to IE/Gecko,
> and was going to file a bug, but it seemed that Opera was actually
> correct (is it?). But I think your description is along the lines that
> I'm thinking, yes.

I would say Opera is correct and Gecko is wrong.

See:

   http://www.hixie.ch/tests/adhoc/css/box/float/004.xml
   http://www.hixie.ch/tests/adhoc/css/box/float/005.xml
   http://www.hixie.ch/tests/adhoc/css/box/float/006.xml

...for what basically amounts to a /reductio ad absurdum/ demonstration of
why Gecko is, IMHO, incorrect.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 20 November 2002 07:38:13 GMT

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