From: Chris Rebert Date: Tue, 27 Oct 2015 19:46:02 +0000 (-0700) Subject: Give better description of IE9 transparent click bug & workaround X-Git-Tag: v4.0.0-alpha.2~189^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd39d910582c771b2fb208b416f918b178320eba;p=thirdparty%2Fbootstrap.git Give better description of IE9 transparent click bug & workaround [skip sauce] [skip validator] --- diff --git a/scss/_carousel.scss b/scss/_carousel.scss index b02a2cd211..d9fb3b84d6 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;