From b2ec9c4c94599080c43e7aea851d6e2b5f80c60f Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Sat, 29 Oct 2011 20:34:37 +0900 Subject: [PATCH] Issue #1321678 by Jacine: Provide default styling for block-level HTML5 elements. --- modules/system/system.base.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/modules/system/system.base.css b/modules/system/system.base.css index df97cd2bc400..e78edca2c7c9 100644 --- a/modules/system/system.base.css +++ b/modules/system/system.base.css @@ -259,3 +259,23 @@ html.js .js-hide { zoom: 1; /* hasLayout trigger to clear floats in IE */ } +/** + * Block-level HTML5 display definition. + * + * Provides display values for browsers that don't recognize the new elements + * and therefore display them inline by default. + */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section, +summary { + display: block; +} -- GitLab