W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [css-counter-styles] question about API

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 11 Feb 2014 11:26:45 -0800
Message-ID: <CAAWBYDB2r4Hraebh=EbADbzBXiRzgoEn9o+YMcyfB-XtQ=+1YA@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
On Fri, Feb 7, 2014 at 3:45 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> I have a question that, if one descriptor is not specificed in rule
> declaration, should the corresponding attribute return the initial
> value defined for the descriptor or an empty string?

Hmm, I'm actually not sure what the best behavior is.  The closest
similar rule, @font-face, doesn't define it at all either:
<http://dev.w3.org/csswg/css-fonts/#om-fontface>

I can go with either null, empty string, or initial value.  I'll let
the group decide which makes the most sense.

~TJ
Received on Tuesday, 11 February 2014 19:27:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 11 February 2014 19:27:33 UTC