W3C home > Mailing lists > Public > www-style@w3.org > January 2002

Re: '-vnd' identifiers

From: Daniel Glazman <glazman@netscape.com>
Date: Tue, 29 Jan 2002 17:26:39 +0100
Message-ID: <3C56CD3F.1010603@netscape.com>
To: www-style@w3.org


Mats Tedenvall wrote:

>Hi,
>I heard that future versions of CSS might support vendor-specific extensions
>by allowing identifiers to begin with '-'. That would allow vendor-specific
>properties such as -wap-input-format (WAP Forum extension) or
>-xyz-inner-border-color (xyz company extension).
>I wonder how that could be syntactical possible, since it would then be
>impossible for a tokenizer to separate negative numbers from identifiers.
>For example, is '-123' a negative number or is it an identifier?
>

CSS keywords cannot start with a digit...After the initial dash, vendor 
specific extensions are a keyword.

</Daniel>
Received on Tuesday, 29 January 2002 11:27:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:12 GMT