W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: Outside list bullets and text-align

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 6 Oct 2008 14:50:18 -0700
To: David Hyatt <hyatt@apple.com>
Cc: "www-style@w3.org List" <www-style@w3.org>
Message-ID: <20081006215018.GA21188@pickering.dbaron.org>

On Monday 2008-10-06 13:56 -0500, David Hyatt wrote:
> https://bugs.webkit.org/show_bug.cgi?id=15713
>
> WebKit currently ignores text-align when positioning outside list  
> bullets.  Every other major browser respects text-align when determining 
> the position of outside list bullets.
>
> I believe WebKit's rendering is correct according to the current 2.1  
> spec, but it seems like the specification should be amended if Firefox, 
> Opera and IE all render the other way.

The specification currently leaves it undefined:
  # CSS 2.1 does not specify the precise location of the marker box. 
http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-position
What text makes you think it's defined otherwise?

I think it was left undefined largely because of the general complex
of issues related to list items flowing around floats (and
REC-CSS2's solution being incompatible with the Web), for which
css3-box module has a potentially better solution.  That said, I
think that solution needs a little work:
http://lists.w3.org/Archives/Public/www-style/2008Feb/thread.html#msg116

Gecko changed its behavior not too long ago -- a little before
Firefox 3:
https://bugzilla.mozilla.org/show_bug.cgi?id=413840
https://bugzilla.mozilla.org/show_bug.cgi?id=427370
to match what other browsers were doing regarding flow around
floats; I suspect this was a side-effect of that change.

It's possible we could make the text a bit more defined, although
we might just want to wait for css3 at this point.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 6 October 2008 21:56:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT