From: Chris Rebert Date: Fri, 13 Nov 2015 07:43:13 +0000 (-0800) Subject: Revert "Drop cursor pointer for button role" X-Git-Tag: v4.0.0-alpha.2~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=920f7fd695cd5efca346b518a91e47218f16290c;p=thirdparty%2Fbootstrap.git Revert "Drop cursor pointer for button role" This reverts commit 61067304cd8ad4394af69003971b4e9c3aa94c55. The normalize.css pull request (https://github.com/necolas/normalize.css/pull/379 ) was REJECTED, *NOT* merged! --- diff --git a/scss/_reboot.scss b/scss/_reboot.scss index ae183e7ea1..e4db70a9a1 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -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 //