fixes #5178: update normalize to avoid resetting audio and video elements in android

This commit is contained in:
Mark Otto 2012-09-18 11:23:16 -07:00
parent 3b3def4898
commit 78992bbf42
2 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ input::-moz-focus-inner {
} }
button, button,
input[type="button"], html input[type="button"],
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
cursor: pointer; cursor: pointer;

View File

@ -115,11 +115,11 @@ input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
border: 0; border: 0;
} }
button, button,
input[type="button"], html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
cursor: pointer; // Cursors on all buttons applied consistently -webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
-webkit-appearance: button; // Style clickable inputs in iOS cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
} }
input[type="search"] { // Appearance in Safari/Chrome input[type="search"] { // Appearance in Safari/Chrome
-webkit-box-sizing: content-box; -webkit-box-sizing: content-box;