Re: Should implementors copy vendor prefixes from each other?

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 UTC