aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-09-18 11:23:16 -0700
committerMark Otto <[email protected]>2012-09-18 11:23:16 -0700
commit78992bbf42b93464737860948223e9f852a9f8e8 (patch)
treef504bf6eeec8ca77c3ce215b6a6928e3a426ad18
parent3b3def4898b7d60e9a8b9b95707ee56323b23f36 (diff)
downloadbootstrap-78992bbf42b93464737860948223e9f852a9f8e8.tar.xz
bootstrap-78992bbf42b93464737860948223e9f852a9f8e8.zip
fixes #5178: update normalize to avoid resetting audio and video elements in android
-rw-r--r--docs/assets/css/bootstrap.css2
-rw-r--r--less/reset.less6
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 7a73f6c68..4c3da8f52 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -101,7 +101,7 @@ input::-moz-focus-inner {
}
button,
-input[type="button"],
+html input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
diff --git a/less/reset.less b/less/reset.less
index 2901a85c8..ed3fecf41 100644
--- a/less/reset.less
+++ b/less/reset.less
@@ -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;