W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 10824] i18n comment 20 : list item marker display and position

From: <bugzilla@jessica.w3.org>
Date: Mon, 15 Nov 2010 08:00:30 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PHtzK-0004nK-9l@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10824

--- Comment #12 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2010-11-15 08:00:29 UTC ---
(In reply to comment #10)
> So what will the change be?

What I have proposed on the CSS list is:

li {
  list-style-position:outside-parent;
  text-align: match-parent;
}

This would have no visible effect on list items that have the same direction as
the list. It would indeed change the rendering of those items that have the
opposite direction, but this is ok from the point of view of backward
compatibility because by default, such lists are currently rendered
unacceptably poorly, with the marker displaying only partially or not at all.

The list-style-position change has been favorably discussed by the CSS WG, but
the outside-parent value has yet to be actually added to the CSS Lists spec.
The match-parent value for text-align has already been added to the CSS Text
module, but this part of the proposed change to li has yet to be discussed by
the CSS WG. Thus, neither change can actually be done in the default style
sheet yet. I will reactivate this bug when that changes.

> Right now we don't set 'list-style-position' at
> all, we just rely on the default. Isn't that the preferred behaviour? i.e.
> shouldn't we just change CSS' default?

See comment 6 for fantasai's explanation of why it would be against CSS WG
policy to change the default for list-style-position, but is ok by them if it
is done in the default style sheet.

Of course, the text-align change just for li can only be done in the default
style sheet.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 15 November 2010 08:00:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 November 2010 08:00:32 GMT