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

Re: [CSSWG] Your opinion needed : Position of list-item markers

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 26 Nov 2008 17:23:25 -0600
Message-ID: <dd0fbad0811261523g1f14d811oc72816cc5589f235@mail.gmail.com>
To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
Cc: "www-style@w3.org" <www-style@w3.org>

On Wed, Nov 26, 2008 at 3:36 PM, Daniel Glazman
<daniel.glazman@disruptive-innovations.com> wrote:
> On Wednesday 12 November 2008 20:32, Saloni Mira Rai wrote:
>> Scenario #2 - List-item has text-align set to center. Should the
>> marker be next to the text or outside the principal box? Firefox,
>> Opera and Safari put the marker right next to the text, within the
>> border of the list-item IE8 puts the marker outside the list-item.
> The CSS WG would like to have your opinion above the issue above.
> Please respond to this message in www-style@w3.org. Thanks !

If list-style-position is set to inside, the marker should follow the
text.  If it's set to outside, it should stay on the edge where it
would normally be.

This corresponds with reasonable intuition, plus if both follow or
both ignore, it's rather tricky to force it to do otherwise.

Same thing if text is right-aligned - inside makes markers follow (but
still be on the left side of the text) and outside makes it stay on
the left edge.  The marker-position: property (or whatever it's name
is) is the correct place to make the marker move to the right side,
not text-align:.

I don't know enough about proper conventions with rtl text to make any
judgement on that.

Received on Wednesday, 26 November 2008 23:24:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:41 UTC