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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10824

Aharon Lanin <aharon.lists.lanin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NEEDSINFO                   |

--- Comment #13 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2011-07-17 14:31:24 UTC ---
(In reply to comment #12)
> (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.

(In reply to comment #10)
> So what will the change be?

CSS Lists Level 3 has accepted the position that the CSS default,
list-style-position:outside, will now mean that the marker position is
dependent on the list element direction, not the list item direction. (Backward
compatibility was decided not to be a factor because browser behavior was not
interoperable anyway.)

It would still be best if the HTML5 default style sheet had

li {
  text-align: match-parent;
}

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You reported the bug.

Received on Sunday, 17 July 2011 14:31:29 UTC