W3C home > Mailing lists > Public > www-style@w3.org > January 2005

Re: Question on collapsing margins and block reflow context roots

From: David Hyatt <hyatt@apple.com>
Date: Thu, 27 Jan 2005 13:00:11 -0800
Message-ID: <41F9565B.6020208@apple.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Ian Hickson <ian@hixie.ch>, www-style@w3.org

Ah, I meant that <fieldset> would collapse margins with siblings. :)

Boris Zbarsky wrote:

> David Hyatt wrote:
>> Everything Ian described is what Safari (WebCore) does for <button> 
>> and <fieldset> (and for overflow non-visible elements).
> Except what Ian described for <fieldset> is different from what CSS 
> 2.1 requires for overflow non-visible elements...  I'm re-quoting what 
> Ian said, for reference:
>>> IMHO the default rendering of <button> should be 'inline-block' and 
>>> the default rendering of <fieldset> should be 'block', with the 
>>> <legend> positioned over the border edge either via positioning or 
>>> via extra-CSS means. But I acknowledge that this is not normatively 
>>> defined anywhere.
> So per Ian, a <fieldset> is just another block.
> I just tested Safari 1.0.3 (has this been changed since?) and 
> overflow:hidden box size is affected by floating descendants, whereas 
> fieldset size is not.  So I'm not sure how to read your statement, 
> which implies that they behave identically...
> -Boris
Received on Thursday, 27 January 2005 21:00:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC