aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-11-03 12:19:34 -0800
committerChris Rebert <[email protected]>2015-11-03 12:19:34 -0800
commit36d20a85142fa2649d1b430d91a6335b4249f308 (patch)
treed2ed9499a250c47ca7bc325c4898c67f8106a144
parentbfa392b097a1d10844e61fb00957c5f8d9ea73ca (diff)
parentfd39d910582c771b2fb208b416f918b178320eba (diff)
downloadbootstrap-36d20a85142fa2649d1b430d91a6335b4249f308.tar.xz
bootstrap-36d20a85142fa2649d1b430d91a6335b4249f308.zip
Merge pull request #18081 from twbs/ie9-click-comment
Give better description of IE9 transparent click bug & workaround
-rw-r--r--scss/_carousel.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_carousel.scss b/scss/_carousel.scss
index b02a2cd21..d9fb3b84d 100644
--- a/scss/_carousel.scss
+++ b/scss/_carousel.scss
@@ -178,9 +178,9 @@
cursor: pointer;
// IE9 hack for event handling
//
- // Internet Explorer 9 does not support clicks on elements without a set
- // `background-color`. We cannot use `filter` since that's not viewed as a
- // background color by the browser. Thus, a hack is needed.
+ // Internet Explorer 9 does not properly handle clicks on elements with a `background-color` of `transparent`,
+ // so we use rgba(0,0,0,0) instead since it's a non-buggy equivalent.
+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer
background-color: rgba(0,0,0,0); // IE9
border: 1px solid $carousel-indicator-border-color;
border-radius: 10px;