I'm wondering if there's a guideline for answering CSS questions in regards to prefixing properties and values with vendor prefixes. I realize that vendor prefixes become unnecessary over time, and in fact become deprecated and dropped after a long period of time (as is the case with some
-moz properties), but I'm referring to answers to questions at the time when the answer is posted.
I've been seeing answers with and without prefixes, and some with prefixes that have already been unprefixed for a while:
-webkit-box-sizing: border-box; /* not necessary since Chrome 9 */ -moz-box-sizing: border-box; /* still necessary */ box-sizing: border-box;
And then there's people who blindly prefix everything. For Trident, some values just work in IE 10 and using a prefixed value (or property) will not bring backwards compatibility to IE 9 (for instance there is no
Occasionally I still see
border-radius being prefixed with
-moz, even though the standard property has been supported since Chrome 4 and Firefox 4, and Firefox 13 will throw a warning upon seeing the
I think we can all agree that the
-khtml prefix is obselete, as it is supported only by Safari <= 2 and Konqueror, for properties that existed in test at that time I assume. Luckily I don't see any answers with that.
Worst of all is the
-o prefix, which still comes up rather frequently.
Of course, none of this applies if the question targets a specific version of a browser.
What's the community's take on this?