W3C home > Mailing lists > Public > www-style@w3.org > May 2009

Re: Should implementors copy vendor prefixes from each other?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 15 May 2009 15:04:31 -0500
Message-ID: <dd0fbad0905151304v92a0330l21b8b50859e063dc@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: Alexis Deveria <adeveria@gmail.com>, www-style@w3.org
On Fri, May 15, 2009 at 2:42 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> Alexis Deveria wrote:
>>
>> How about if all browsers supported a -*- prefix (as well as their
>> original prefix), that would map to the appropriate prefix used by the
>> browser?
>>
>> That way users could just do this:
>> -*-border-radius: 10px;
>>
>> And Webkit browsers would see -webkit-border-radius, Opera would see
>> -o-border-radius, etc.
>>
>
> Why not to support just 'border-radius' then? So it will be resolved to
> -webkit-border-radius or -o-border-radius ... If such resolution is needed
> at all.

Because that essentially means you're not using prefixes at all.  A
-*-foo syntax at least means that the author is acknowledging that
they're asking for the experimental version, which prevents the
problem that prefixes were designed to solve from arising (mistakes
being locked-in due to in-the-wild uses becoming widespread).

~TJ
Received on Friday, 15 May 2009 20:05:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:18 GMT