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

Re: [css-lists][html] <summary> and ::marker

From: Ting-Yu Lin <tlin@mozilla.com>
Date: Wed, 27 Apr 2016 14:03:22 +0800
Message-ID: <CALa=iqszFkcQ8WkQ8efJ41L0G-qhJ9d0iL8G3o9xzWZu9DWyqw@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
>
> > I feel changing list-style-* properties to *only* apply to the ::marker
> > could be
> > another source for compatibility issues. Other implementers who are
> familiar
> > with counter styles might want to comment this.
>
> I don't see how it can cause any compatibility issue at all, in any
> scenario.  The list-style-* properties today only apply to list items,
> they inherit, and ::marker is always a child of a list item, so all
> code that today uses them to style a list item would, under this
> proposal, style the marker instead, and no page can accidentally pick
> up marker styling if it wasn't already styling the list item.
>

I didn't consider the ::marker will have list-style-* properties inherited
from list items. The explanation makes sense to me. Thank you.
Received on Wednesday, 27 April 2016 06:04:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC