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

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 UTC