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

Re: Should implementors copy vendor prefixes from each other?

From: Alexis Deveria <adeveria@gmail.com>
Date: Fri, 15 May 2009 14:02:25 -0400
Message-ID: <5e5974a0905151102h462b54bfk52cb6d17ba7a179e@mail.gmail.com>
To: www-style@w3.org
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.

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
Received on Friday, 15 May 2009 18:03:10 GMT

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