From: Patrick H. Lauke Date: Fri, 5 May 2017 08:53:45 +0000 (+0100) Subject: Add shim for "new" HTML5 structural elements (#22573) X-Git-Tag: v4.0.0-beta~166^2~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7338da0cdb98e61c8b3741c29abea8e52357603b;p=thirdparty%2Fbootstrap.git Add shim for "new" HTML5 structural elements (#22573) For IE10 (and any older browsers) support , so at least the layout doesn't fall apart if author is using them. --- diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 6a8c6ab370..33fc2d660a 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -39,6 +39,10 @@ html { @-ms-viewport { width: device-width; } } +// Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers) +article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section { + display: block; +} // Body //