From 59baa051a1a51e7e82d96e0ee853fec2e3da2e12 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Sat, 1 May 2010 15:06:56 -0500 Subject: [PATCH] Removed resetting of :focus style from Compass global-reset mixin --- doc-src/content/CHANGELOG.markdown | 5 +++++ frameworks/compass/stylesheets/compass/reset/_utilities.scss | 2 -- test/fixtures/stylesheets/compass/css/reset.css | 3 --- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc-src/content/CHANGELOG.markdown b/doc-src/content/CHANGELOG.markdown index 6cfd2079..5578cf19 100644 --- a/doc-src/content/CHANGELOG.markdown +++ b/doc-src/content/CHANGELOG.markdown @@ -7,6 +7,11 @@ layout: article COMPASS CHANGELOG ================= +0.10.0.rc5 (Unreleased) +--------------------------- +* Global reset no longer automatically resets the *:focus. This allows browsers to use their default :focus styles which is considered a best practice. if you wish to reset :focus styles simply include this in your stylesheets: + `*:focus { @include reset-focus; }` + 0.10.0.rc4 (April 27, 2010) --------------------------- * Lot of new docs can be found at: [http://compass-style.org/docs/](http://compass-style.org/docs/). diff --git a/frameworks/compass/stylesheets/compass/reset/_utilities.scss b/frameworks/compass/stylesheets/compass/reset/_utilities.scss index 7e58fbeb..e68eba2f 100644 --- a/frameworks/compass/stylesheets/compass/reset/_utilities.scss +++ b/frameworks/compass/stylesheets/compass/reset/_utilities.scss @@ -14,8 +14,6 @@ table, caption, tbody, tfoot, thead, tr, th, td { @include reset-box-model; @include reset-font; } - *:focus { - @include reset-focus; } body { @include reset-body; } ol, ul { diff --git a/test/fixtures/stylesheets/compass/css/reset.css b/test/fixtures/stylesheets/compass/css/reset.css index 86328e21..d1ad4a43 100644 --- a/test/fixtures/stylesheets/compass/css/reset.css +++ b/test/fixtures/stylesheets/compass/css/reset.css @@ -16,9 +16,6 @@ table, caption, tbody, tfoot, thead, tr, th, td { font-family: inherit; vertical-align: baseline; } -*:focus { - outline: 0; } - body { line-height: 1; color: black;