Re: [css3-lists] ::marker should inherit from the element

Le 05/04/2013 15:28, Øyvind Stenhaug a écrit :
> This isn't necessarily going to be a problem, but I'll note that we saw
> some deviations from this rule in implementations when the list-item
> implementation was reworked in Presto some time ago.
> For instance, given a list-item with text-transform:uppercase and
> list-style-type:lower-alpha, only IE (at least version 8, which was the
> one tested at the time) propagates text-transform to the marker.
> Similarly, neither Gecko nor Presto have the marker inherit
> font-variant:small-caps. These are probably the two main properties for
> which inheritance might be a little surprising, since the list styles
> already specify casing.

We at least want to inherit font-family, right?  The simplest for specs 
would be for ::marker to inherit just like ::before does.

If there are specific web-compat concerns or use cases regarding 
text-transform, font-variant or other properties, they could be 
addressed in a UA stylesheet. For example:

   ::marker { text-transform: initial; font-variant: initial }

Simon Sapin

Received on Friday, 5 April 2013 13:48:12 UTC