W3C home > Mailing lists > Public > www-style@w3.org > April 2013

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

From: Simon Sapin <simon.sapin@exyr.org>
Date: Fri, 05 Apr 2013 15:47:45 +0200
Message-ID: <515ED601.3090909@exyr.org>
To: www-style@w3.org
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 }

Cheers,
-- 
Simon Sapin
Received on Friday, 5 April 2013 13:48:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC