W3C home > Mailing lists > Public > www-style@w3.org > March 2010

RE: vendor prefix properties diverging from official properties

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Tue, 2 Mar 2010 23:44:27 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E10D6B81E@TK5EX14MBXC111.redmond.corp.microsoft.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:32 UTC