RE: vendor prefix properties diverging from official properties

From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU] 


>Actually, assuming the browsers involved discard unknown declarations like they're supposed to, this would work (in either order, even):

>   -w3c-background-origin: border-box;
>   -w3c-background-origin: border;

Ooops. Duh, even. Yes, it would still work. And as a browser updates their implementation to support the newer value names, it'll pick up the other
declaration so that's actually not bad for the author who paid the upfront 'tax' of specifying both variations... The readability is reduced if you care
to know which value relates to which browser but that seems minor.

The DOM side is more painful as you'd need to browser-sniff to figure out which value set you should be using. Which might be why Mozilla kept 
the older values as some authors might otherwise have had to sniff browser versions ?

> But in a situation in which the meaning of the syntax changed without changing the allowed value set you would be absolutely correct.
That is another possibility. Any example of that happening ?

Received on Tuesday, 2 March 2010 23:47:06 UTC