Re: [css3-ui] nav-* feedback

On Wed, Feb 15, 2012 at 5:42 PM, Kang-Hao (Kenny) Lu
<kennyluck@csail.mit.edu> wrote:
> (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

Ah, indeed, good catch.

It should definitely just refer to an IDENT token.

~TJ

Received on Thursday, 16 February 2012 19:30:01 UTC