Re: Proprietary identifier names

Etan Wexler wrote:
>
>The beautiful thing is that the declaration
>
>  counter-increment: -moz-magic;
>
>is perfectly acceptable within the constraints of the core
>grammar as published. Values are not as restricted as are
>property names and at-rule names.
>
>I amend my suggestion to Christian: use an initial bare
>hyphen-minus for proprietary value identifier terms.

I'd prefer to use \-ilx- everywhere in the stylesheet where proprietary
identifiers are required, so the author does not have to switch between
property-name/property-value "thinking-mode" (even when documented
correctly in the product manual).

I also prefer the '\'-ilx- notation (quoted hyphen-minus) as it (1)
stands out, (2) is parsed and handed back correctly by existing CSS2
parsers and (3) is still guaranteed to never clash with future CSS
identifiers, as the actual property name (as viewed from the CSS side
after parsing) starts with "-ilx-", regardless of quoting the beginning
hyphen-minus or not.

At least, this is my current understanding of the issue.

- Christian

Received on Thursday, 27 February 2003 09:31:46 UTC