W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

[CSS] Floats impact non-positioned blocks while they must not

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Mon, 23 Oct 2006 21:37:49 +0300
Message-ID: <453D0BFD.9090109@myrealbox.com>
To: "www-amaya.w3.org" <www-amaya@w3.org>
Amaya 9.52: on the example attachments "float_1.html" and 
"float_2.html" the floated box impacts the size of the surrounding 
non-positioned blocks while it should impact only their line boxes 
(inline content).


> Since a float is not in the flow, non-positioned block boxes created 
> before and after the float box flow vertically as if the float 
> didn't exist. However, line boxes created next to the float are 
> shortened to make room for margin box of the float.

The specification gives illustrations for similar cases I've given 
and I'm attaching sample reference renderings using Mozilla.


(image/png attachment: float_1.png)

(image/png attachment: float_2.png)

Received on Monday, 23 October 2006 18:38:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:37 UTC