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

Re: [css-lists][css-counter-styles] Compute list-style-type to 'decimal' if the specified counter style does not exist

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 9 May 2016 09:07:05 -0700
Message-ID: <CAAWBYDBpt3PfsGJbVvxXfh46GGzFCjdVQ_T2ouTiBkTxeFoOdg@mail.gmail.com>
To: Xidorn Quan <me@upsuper.org>
Cc: www-style list <www-style@w3.org>
On Sun, May 8, 2016 at 11:53 PM, Xidorn Quan <me@upsuper.org> wrote:
> Recently, there is a behavior change in Gecko which makes
> list-style-type be computed to 'decimal' when the specified counter
> style doesn't exist, rather than keeping the specified nonexistent one.
> This change helps us save a string for common cases, and simplify some
> code. None of which is a big deal, though.
> I'm not completely sure what does the spec say for this case. It seems
> to me the old behavior is more conformant, but I guess the new behavior
> might be perferable, since it makes the computed value match the used
> value. So I propose changing the spec to this behavior.
> What do you think?

I'm fine with this if others are; I don't see any particular reason to
keep the non-existent type in computed style.  Whichever way is more
convenient for implementations is ok with me.

Received on Monday, 9 May 2016 16:14:56 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:59 UTC