[wp-trac] [WordPress Trac] #23582: Twenty Thirteen: Audit and clean up browser prefixes
WordPress Trac
noreply at wordpress.org
Fri Feb 22 19:34:52 UTC 2013
#23582: Twenty Thirteen: Audit and clean up browser prefixes
---------------------------+--------------------
Reporter: Jayjdk | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+--------------------
Changes (by Jayjdk):
* keywords: needs-patch => has-patch
Comment:
== Properties with prefixes: ==
`text-size-adjust`
* `-webkit`, `-ms`
* Note: There's a `-moz` prefix as well but that doesn't support
percentages
* Recommendation:
* Keep them
`hyphens`
* `-webkit`, `-moz`, `-ms`, `unprefixed`
* Recommendation:
* Keep them as they're all still needed
`appearance`
* `-webkit`
* Recommendation:
* Keep it
`box-sizing`
* `-webkit`, `-moz`, `-ms`, `unprefixed`
* Recommendation:
* Remove the `–ms` prefix as IE8-IE10 supports the unprefixed (the
`-ms` prefix has never been used by any version of IE)
* Keep the others as Firefox still needs the `–moz` and old webkit
mobile browsers need `–webkit`.
`font-smoothing`
* `-webkit`
* Recommendation:
* Keep it.
`linear-gradient`
* `-webkit`, `-moz`, `-ms`, `-o`, `unprefixed`, `old IE`
* Recommendation:
* Remove `-ms` as IE10 supports the unprefixed version.
* Remove `-moz` as Firefox 16 supports unprefixed
* Keep the `-o` prefix even through the latest versions supports
the unprefixed. Opera 12.10 was released on November 6, 2012.
`transition`
* `-webkit`, `-moz`, `-o`, `unprefixed`
* Recommendation:
* Remove `-moz` as Firefox 16 supports unprefixed
* Keep the `-o` prefix (unprefixed supported in Opera 12.10)
`calc`
* `-webkit`, `unprefixed`
* Recommendation:
* Keep them.
`transform: translate`
* `-webkit`, `-moz`, `-ms`, `-o`, `unprefixed`
* Recommendation:
* Remove `-moz` as Firefox 16 supports unprefixed (nothing will
break in older versions)
* Keep the `-o` prefix (unprefixed supported in Opera 12.10)
== Selectors with prefixes: ==
Keep them all.
== Properties without prefixes: ==
`box-shadow`
* Unprefixed version is not supported in Android Browser 3.0 and older,
iOS Safari 4.3 or older and Blackberry Browser. The global usage for those
is, according to http://caniuse.com, 3.34 % (Android Browser 2.3 alone is
2.36 %)
* Recommendation:
* The only place the prefix ''might'' be needed as I see it is in
`.blog .format-aside:first-of-type, .single .format-aside:first-of-type`
and `.blog .format-link:first-of-type, .single .format-link:first-of-type`
as it's used to create a separation between aside posts and the
navigation.
== Other Notes: ==
* I still in favor of moving all the `box-sizing` stuff to an universal
selector
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23582#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list