Re: Should implementors copy vendor prefixes from each other?

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 UTC