mathiasbynens / jsperf.com

jsPerf.com source code
http://jsperf.com/
Other
473 stars 56 forks source link

unprefix vendors CSS (not all) #166

Closed tomByrer closed 10 years ago

tomByrer commented 10 years ago

http://caniuse.com/border-radius http://caniuse.com/css-gradients http://caniuse.com/css3-tabsize

left in: All -webkit- for iOS/Safari <=6.1 http://caniuse.com/css3-boxsizing (Android 3.0, Firefox v28?)

background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#b8b8b8));
background-image: -webkit-linear-gradient(top, #ebebeb, #b8b8b8);
tomByrer commented 10 years ago

Not sure if you want all unprefixed & automate the prefixing.

mathiasbynens commented 10 years ago

jsPerf is in a unique situation where we actively support extremely old versions of current browsers. Think Firefox 2, Safari 3, etc. I agree things like border-radius fall under progressive enhancement, but it really doesn’t hurt to have those few extra lines of CSS there IMHO.

tomByrer commented 10 years ago

we actively support extremely old versions of current browsers

Ah, I didn't realize that. I figured you'd go back 1 year, not 4. cheers

mathiasbynens commented 10 years ago

Yeah, we want people to run JavaScript performance tests in IE6 and other ancient browsers if they want to. (This patch wouldn’t change that, of course, but still I’d prefer to keep those few lines of CSS.)