Re: margin-before and legend

On Tue, 04 Jun 2013 23:57:29 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> On Wed, Jun 5, 2013 at 6:05 AM, Robert Hogan <robhogan@gmail.com> wrote:
>> Hi there,
>>
>> While looking at https://bugs.webkit.org/show_bug.cgi?id=9243 I
>> realized everyone differs in their treatement of margin-before when
>> applied to a legend element:
>>
>> https://bugs.webkit.org/attachment.cgi?id=203724
>>
>> How do I find out the correct behaviour?
>
> There is no right behavior - <legend>'s display is not describable in
> CSS, and we've never really attempted to define how it interacts with
> some of the reasonable properties.
>
> It would be useful to do some investigation of existing browser
> behavior, so that we can define this.

There's  
http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#rendered-legend  
however it doesn't say how CSS properties apply to it.

-- 
Simon Pieters
Opera Software

Received on Tuesday, 4 June 2013 22:08:50 UTC