Skip to content
Permalink
Browse files
Remove unnecessary vendor prefixes
Firefox ESR is currently at Firefox 31, which doesn't require box-sizing
prefixes.

Fix #400
  • Loading branch information
necolas committed Mar 30, 2015
1 parent ef2b006 commit c78ecbb59e6a27042ec03b01a6577698976d88bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
@@ -34,7 +34,7 @@ library code.

* Google Chrome (latest)
* Mozilla Firefox (latest)
* Mozilla Firefox 4
* Mozilla Firefox ESR
* Opera (latest)
* Apple Safari 6+
* Internet Explorer 8+
@@ -210,7 +210,6 @@ figure {
*/

hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
@@ -351,15 +350,12 @@ input[type="number"]::-webkit-outer-spin-button {

/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
*/

input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
box-sizing: content-box; /* 2 */
}

/**

3 comments on commit c78ecbb

@tomByrer
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for keeping your file slim.

@fab1an
Copy link

@fab1an fab1an commented on c78ecbb Jun 15, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does normalize use vendor-prefixes to target only specific browser? Because autoprefixer tends to strip them away.

@tomByrer
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fab1an Yes, where you see -ms-, -webkit-.
You can concoct CSS files after autoprefixer.

Please sign in to comment.