W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: margin-before and legend

From: Simon Pieters <simonp@opera.com>
Date: Wed, 05 Jun 2013 00:09:11 +0200
To: "Robert Hogan" <robhogan@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "www-style list" <www-style@w3.org>, "Julien Chaffraix" <jchaffraix@google.com>
Message-ID: <op.wx6c5l2gidj3kv@simons-macbook-pro.local>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC