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

Re: Should implementors copy vendor prefixes from each other?

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Fri, 15 May 2009 12:42:44 -0700
Message-ID: <4A0DC5B4.6010807@terrainformatica.com>
To: Alexis Deveria <adeveria@gmail.com>
CC: www-style@w3.org
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.

> Since in most cases browsers have the same or very similar
> implementations for experimental properties, this could be very
> useful. And if one would want a different value for a different
> browser, they could specify that one next, overriding the first one.
>
> For example if one were need to hypothetically specify '50%' for
> opacity in IE, they could do:
>
> -*-opacity: 0.5;
> -ms-opacity: 50%;
>
> I believe this would offer the advantages mentioned initially by L.
> David Baron, without causing too much confusion.
>
> Thanks, 
> Alexis Deveria
>   
--
Andrew Fedoniouk.
http://terrainformatica.com
Received on Friday, 15 May 2009 19:50:10 GMT

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