From: ysds Date: Fri, 20 Jul 2018 14:26:23 +0000 (+0900) Subject: Remove `:not(:root)` from the workaround for SVG overflow bug X-Git-Tag: v4.1.3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=900775483ff0d5aa79e497fbfee89858da467cf4;p=thirdparty%2Fbootstrap.git Remove `:not(:root)` from the workaround for SVG overflow bug * `svg:not(:root)` specificity is very high (https://github.com/necolas/normalize.css/issues/718) * Bootstrap do not support SVG documents (See #26878) --- diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 656017df41..9ed8be7720 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -274,12 +274,9 @@ img { svg { vertical-align: middle; - - &:not(:root) { - // Workaround for the SVG overflow bug in IE10/11 is still required. - // See https://github.com/twbs/bootstrap/issues/26878 - overflow: hidden; - } + // Workaround for the SVG overflow bug in IE10/11 is still required. + // See https://github.com/twbs/bootstrap/issues/26878 + overflow: hidden; }