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

Re: [css3-ui] nav-* feedback

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Thu, 16 Feb 2012 09:42:19 +0800
Message-ID: <4F3C5EFB.4060108@csail.mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: WWW Style <www-style@w3.org>
(12/02/16 9:34), Tab Atkins Jr. wrote:
> On Feb 15, 2012 5:28 PM, "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
> wrote:
> 
>>  # The <id> value consists of a ‘#’character followed by an
>>  # identifier
>>
>> It's not too obvious what "identifer" means here. Is it equivalent to
>> <identifier> or just an IDENT token? Namely, are #auto, #current and
>> #root valid values here or not?
> 
> What is the significance of #auto, etc.? Were these just examples, or are
> you assuming that they have some special meaning?

The definition of <identifier>[1] says

  # This generic data type is denoted by <identifier>, and represents
  # any valid CSS identifier that does not otherwise appear as a
  # pre-defined keyword in that property's value definition.

and since the syntax of nav-top etc. is

  # auto | <id> [ current | root | <target-name> ]? | inherit

the pre-defined keywords are: "auto", "current", "root", "inherit" (and
maybe "initial")

[1] http://dev.w3.org/csswg/css3-values/#identifiers


Cheers,
Kenny
Received on Thursday, 16 February 2012 01:42:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT