W3C home > Mailing lists > Public > www-style@w3.org > June 2011

[css3] is "default" a reserved keyword (RE: [css21] is 'initial' a valid counter name?)

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Tue, 21 Jun 2011 21:39:12 +0000
To: "www-style@w3.org" <www-style@w3.org>
CC: Arron Eicholz <Arron.Eicholz@microsoft.com>, Vincent Hardy <vhardy@adobe.com>
Message-ID: <D51C9E849DDD0D4EA38C2E53985692841204EBEB@TK5EX14MBXC213.redmond.corp.microsoft.com>
Ok, it makes sense for "initial". Then the specs for both counters and regions should say 

	The keywords 'none', 'inherit' and 'initial' are not valid counter/flow names.

Now, there is also "default" keyword that is reserved for font names and tentatively mentioned in CSS3 (with a meaning similar to 'initial').

Should 'default' also be reserved for properties of type ident, or is it not defined enough to be included?

± -----Original Message-----
± From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
± Sent: Thursday, June 16, 2011 2:50 PM
± To: Alex Mogilevsky
± Cc: www-style@w3.org
± Subject: Re: [css21] is 'initial' a valid counter name?
± On Thu, Jun 16, 2011 at 12:31 PM, Alex Mogilevsky <alexmog@microsoft.com>
± wrote:
± > ± From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] ± Sent:
± > Wednesday, June 15, 2011 4:55 PM ± ± 'initial' has been useful for me
± > in the past.
± >
± > Can you elaborate? Where does it work now and how was it useful?
± Several browsers implement it prefixed right now.  I've used in my
± personal experiments (just running in Chrome) when I'm setting style for a
± set of elements, and want some subset to act normal without having to
± remember what the initial value for that property is.
± ~TJ

Received on Tuesday, 21 June 2011 21:39:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:02 UTC