From 2ff13efce1b036f0314b602da9e82052506a447a Mon Sep 17 00:00:00 2001 From: Eric Meyer Date: Fri, 24 Sep 2010 16:52:37 -0600 Subject: [PATCH] HTML5 reset includes box-model reset for newer browsers. --- frameworks/compass/stylesheets/compass/reset/_utilities.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frameworks/compass/stylesheets/compass/reset/_utilities.scss b/frameworks/compass/stylesheets/compass/reset/_utilities.scss index d9ba6d9c..268e0f9f 100644 --- a/frameworks/compass/stylesheets/compass/reset/_utilities.scss +++ b/frameworks/compass/stylesheets/compass/reset/_utilities.scss @@ -102,9 +102,11 @@ // Unrecognized elements are displayed inline. // This reset provides a basic reset for html5 elements -// so they are rendered correctly in browsers that don't recognize them. +// so they are rendered correctly in browsers that don't recognize them +// and reset in browsers that have default styles for them. @mixin reset-html5 { article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { + @include reset-box-model; display: block; } } // Resets the display of inline and block elements to their default display