From 7338da0cdb98e61c8b3741c29abea8e52357603b Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Fri, 5 May 2017 09:53:45 +0100 Subject: [PATCH] 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. --- scss/_reboot.scss | 4 ++++ 1 file changed, 4 insertions(+) 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 //