[wp-trac] [WordPress Trac] #23582: Twenty Thirteen: Audit and clean up browser prefixes
WordPress Trac
noreply at wordpress.org
Thu Feb 21 21:06:10 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: needs-patch |
---------------------------+--------------------
Comment (by Jayjdk):
This is a list of all properties and selectors with prefixes in the Twenty
Thirteen style.css. I haven't yet looked into which one that can be
removed.
== Properties with prefixes: ==
`text-size-adjust`
* webkit
* ms
`hyphens`
* webkit
* moz
* ms
* unprefixed
`appearance`
* webkit
`box-sizing`
* webkit
* moz
* ms
* unprefixed
`font-smoothing`
* webkit
`linear-gradient`
* webkit
* moz
* ms
* o
* unprefixed
* Old IE
`transition`
* webkit
* moz
* o
* unprefixed
`calc`
* webkit
* unprefixed
`transform`
* webkit
* moz
* ms
* o
* unprefixed
== Selectors with prefixes: ==
`search-decoration`
* webkit
`focus-inner`
* moz
`placeholder`
* webkit
* moz
* ms
== Properties without prefixes: ==
`box-shadow`
* Unprefixed version is not supported in Android 3.0 and older + iOS
Safari 4.3 or older
* 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` as it's
used to create a separation between aside posts and the navigation
== Notes: ==
* `-moz-placeholder` is there twice
* `box-sizing: border-box;` (and all the prefixes) is referenced 18-19
times
What about using the universal selector instead? See
http://paulirish.com/2012/box-sizing-border-box-ftw/
{{{
*
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23582#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list