From 78992bbf42b93464737860948223e9f852a9f8e8 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 18 Sep 2012 11:23:16 -0700 Subject: [PATCH] fixes #5178: update normalize to avoid resetting audio and video elements in android --- docs/assets/css/bootstrap.css | 2 +- less/reset.less | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 7a73f6c680..4c3da8f525 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 2901a85c80..ed3fecf416 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;