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

Re: [CSS21] [css3-lists] list-style-position: inside

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 18 Jun 2010 15:31:31 -0700
Message-ID: <4C1BF3C3.6010304@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Boris Zbarsky <bzbarsky@mit.edu>, "www-style@w3.org" <www-style@w3.org>
On 06/04/2010 08:29 AM, Tab Atkins Jr. wrote:
> On Thu, Jun 3, 2010 at 7:58 PM, Boris Zbarsky<bzbarsky@mit.edu>  wrote:
>> On 6/3/10 5:15 PM, Tab Atkins Jr. wrote:
>>>
>>> This behavior is clarified in CSS3 Lists - the Opera/webkit behavior is
>>> correct.
>>
>> Are we talking about
>> <http://www.w3.org/TR/2002/WD-css3-lists-20021107/#marker>  or something
>> else?  Per http://www.w3.org/TR/2002/WD-css3-lists-20021107//#marker as far
>> as I can tell the Opera/webkit behavior is wrong.
>>
>> If I'm looking at the wrong spec, which one should I be looking at?  If not,
>> then how did you reach your conclusion?
>
> Whoops, you're right.  I was thinking about outside markers, where the
> text of the innermost li is the "first line" of all three nested<li>s
> and thus is used for alignment.  But inside markers don't do that -
> they just act like inline children, similar to a ::before - and so the
> Firefox behavior is correct per CSS3 Lists, at least.

Looking more closely at the CSS2.1 spec, it seems pretty clear, although
its interaction with :before is not defined.

Proposed to replace:
   # The marker box is the first inline box in the principal block box,
   # after which the element's content flows.
with
   | The marker box is placed as the first inline box in the principal
   | block box, before the element's content and before any :before
   | pseudo-elements.

Marking editorial.

~fantasai
Received on Friday, 18 June 2010 22:32:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:28 GMT