W3C home > Mailing lists > Public > www-style@w3.org > March 2011

Re: root list item Re: [CSS21] 12.5 Lists

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 14 Mar 2011 10:35:35 -0700
Message-ID: <AANLkTikqC_6LURB-EFHr0pqDZvhn2-2F_zk=CuxmL7+H@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: fantasai <fantasai.lists@inkedblade.net>, Peter Moulder <peter.moulder@monash.edu>, www-style@w3.org
On Mon, Mar 14, 2011 at 10:25 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 3/14/11 1:02 PM, Tab Atkins Jr. wrote:
>>
>> Firefox appears to simply always hide the marker when overflow is
>> non-visible, even though it positions outside markers according to the
>> list-item's first line, and thus the marker *should* be inside the
>> visible area and visible.
>
> It's not inside the visible area last I checked.  See
> https://bugzilla.mozilla.org/show_bug.cgi?id=571564 which discusses what's
> going on in comment 0, but the short of it is that the visible area is the
> size of the list-item's content box or so, and the marker is outside that,
> so is clipped just like in IE or Webkit per your description.

This seems irrelevant, unless it was fixed in FF4 (I'm using 3.6 on my
Windows box still).  In the trivial test case I'm looking at (just
text-align:right the list item) the marker clearly follows the text
into the visible area.

> Note that I'm not sure what you mean by "positions outside markers according
> to the list-item's first line" here, but in Gecko the _vertical_ position is
> affected by the baseline of the first line while the _horizontal_ position
> is not affected by the first line at all.  In particular, unlike Opera
> text-indent does not affect _outside_ markers in Gecko.

This doesn't seem to be true.  In particular, setting text-align:right
makes the outside list marker follow the text to the right.  It also
pays at least some attention to text-indent; if you combine
text-indent and text-align:right, the outside list marker moves away
from the text an amount equal to the text-indent. (Again, this is FF
3.6.)

~TJ
Received on Monday, 14 March 2011 17:36:27 GMT

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