W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: [CSS21] Floats, overflow: hidden, BFCs and margins

From: Gérard Talbot <www-style@gtalbot.org>
Date: Fri, 24 Feb 2012 14:35:40 -0500
Message-ID: <83303d3a5345d80651bccd4284e98dbc.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Anton Prowse" <prowse@moonhenge.net>, "Alan Gresley" <alan@css-class.com>, "David Hyatt" <hyatt@apple.com>
Cc: "W3C www-style mailing list" <www-style@w3.org>

Le Lun 20 février 2012 6:24, Anton Prowse a écrit :
> On 20/02/2012 01:14, "Gérard Talbot" wrote:
>
>> Margins and block formating contexts
>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/marges-contexte-formatage.html


> The behaviour of Tests 1 and 2 as regards the left margin of the
> non-floated BFC, and Tests 4 and 5 as regards the right margin of the
> non-floated BFC, is undefined in CSS21:
>
>    # The border box of a table, a block-level replaced element, or an
>    # element in the normal flow that establishes a new block formatting
>    # context (such as an element with 'overflow' other than 'visible')
>    # must not overlap the margin box of any floats in the same block
>    # formatting context as the element itself.
>
> Note how the spec says nothing about how to handle the float-facing
> margin of the non-floated BFC.

I've filed

Bug 16113 - How horizontal margins of a BFC block adjacent to a floated
block should be rendered
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16113

Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Friday, 24 February 2012 19:36:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:51 GMT