]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Revert "Drop cursor pointer for button role"
authorChris Rebert <code@chrisrebert.com>
Fri, 13 Nov 2015 07:43:13 +0000 (23:43 -0800)
committerChris Rebert <code@chrisrebert.com>
Fri, 13 Nov 2015 07:44:29 +0000 (23:44 -0800)
This reverts commit 61067304cd8ad4394af69003971b4e9c3aa94c55.

The normalize.css pull request (https://github.com/necolas/normalize.css/pull/379 )
was REJECTED, *NOT* merged!

scss/_reboot.scss

index ae183e7ea1248bf7a5c29bf579e828017c9efbff..e4db70a9a14a34c8bc52e1af35824a12c1bbc722 100644 (file)
@@ -196,6 +196,17 @@ img {
 }
 
 
+// iOS "clickable elements" fix for role="button"
+//
+// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
+// for traditionally non-focusable elements with role="button"
+// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
+// Upstream patch for normalize.css submitted: https://github.com/necolas/normalize.css/pull/379 - remove this fix once that is merged
+
+[role="button"] {
+  cursor: pointer;
+}
+
 //
 // Tables
 //