]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #5178: update normalize to avoid resetting audio and video elements in android
authorMark Otto <markotto@twitter.com>
Tue, 18 Sep 2012 18:23:16 +0000 (11:23 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 18 Sep 2012 18:23:16 +0000 (11:23 -0700)
docs/assets/css/bootstrap.css
less/reset.less

index 7a73f6c680fac07b88211b8089fa09928bc69593..4c3da8f525ee5ec67d7719f16ba3d503de576488 100644 (file)
@@ -101,7 +101,7 @@ input::-moz-focus-inner {
 }
 
 button,
-input[type="button"],
+html input[type="button"],
 input[type="reset"],
 input[type="submit"] {
   cursor: pointer;
index 2901a85c80ddb08c8432931874ecd2dd448e9e22..ed3fecf4162a3fbe9571b7a59410211b3079c0a1 100644 (file)
@@ -115,11 +115,11 @@ input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
   border: 0;
 }
 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="submit"] {
-  cursor: pointer; // Cursors on all buttons applied consistently
-  -webkit-appearance: button; // Style clickable inputs in iOS
+    -webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
+    cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
 }
 input[type="search"] { // Appearance in Safari/Chrome
   -webkit-box-sizing: content-box;