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

[CSS21] Resolution: clearance and disappearing margins (was: Re: [CSSWG] Minutes and Resolutions 2011-01-26)

From: Anton Prowse <prowse@moonhenge.net>
Date: Sat, 05 Feb 2011 13:11:39 +0100
Message-ID: <4D4D3E7B.1040604@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: fantasai <fantasai.lists@inkedblade.net>
On 27/01/2011 22:50, fantasai wrote:

> - RESOLVED: Have spec allow two possible margin collapsing behaviors in the
> margin-collapse-clear case: the hypothetical position before
> clearance is applied may be calculated either with respect to
> the parent block, or with respect to the containing block
> formatting context.

> plinss: Other issue is margin-collapse, if we want to discuss that now.
> dbaron: I wrote an email to hixie, which I should probably repurpose to
> an email to www-style

Please do!

> dbaron: Briefly, hyatt proposed changing the margin collapsing rules in
> 2007
> dbaron: To prevent a counter-intuitive behavior, of elements moving up
> and margins disappearing.
> dbaron: We resolved to fix that.
> dbaron: However, if you read the spec very carefully, the fix didn't
> actually work
> dbaron: The tests are for what the spec was intended to say
> dbaron: But implementations have not changed
> dbaron: And IE claims there are web-compat issues
> Arron: Also Acid2 is affected.
> dbaron: Although I think if we tell hixie to fix Acid2, he'll fix Acid2
> Arron: We have two implementations of the intended behavior, from Antenna
> House and WebToPDF.
> Arron: So we have the passes we need
> Arron: If we don't change the spec, but change the tests, then we have
> passes from all the browsers.
> fantasai: We also noted that there are existing patches for Gecko and
> Trident that would implement the intended behavior, if that
> was chosen.
> plinss: So we're not blocked on this issue
> dbaron: It's easier to leave as-is, but I'm not sure that's good for
> authors.
> fantasai: Could also leave it undefined for now -- allow both behaviors --
> and lock it down after testing in a beta cycle
> Arron and John Jansen are in favor of leaving the behavior.
> fantasai is not happy with margins, however large, mysteriously
> disappearing.
> fantasai: I think we should just list the two behaviors and allow one or
> the other. Decide later once we have better chance to check web
> compat
> <dbaron> I think I prefer fantasai's suggestion.
> fantasai: Can have two controls within the same test to test for that.
> RESOLVED: Have spec allow either margin collapsing behavior in this
> margin-collapse-clear test

Please can the WG provide a clearer explanation of the two options being 

Anton Prowse
Received on Saturday, 5 February 2011 12:12:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:55 UTC