From 0374d8e2304deca7a10157a2361f2c9ef37d31f3 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 1 Nov 2010 09:22:09 -0700 Subject: [PATCH] [CSS3] The box-shadow $spread value now defaults to using the browser default instead of 0. Since the browser default is 0, you shouldn't see any visible change. Set $default-box-shadow-spread to 0 if you prefer the older behavior. --- doc-src/content/CHANGELOG.markdown | 3 +++ frameworks/compass/stylesheets/compass/css3/_box-shadow.scss | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc-src/content/CHANGELOG.markdown b/doc-src/content/CHANGELOG.markdown index b43a1e56..e4b3099e 100644 --- a/doc-src/content/CHANGELOG.markdown +++ b/doc-src/content/CHANGELOG.markdown @@ -21,6 +21,9 @@ COMPASS CHANGELOG * Compass Validator has been upgraded and fine-tuned. It is now using the "css3" profile to validate and provides a more consistent UI with other compass commands. To upgrade: `gem install compass-validator` +* [CSS3] The box-shadow `$spread` value now defaults to using the browser default instead of 0. + Set $default-box-shadow-spread to 0 if you prefer the older behavior. Since the browser is supposed + to default to 0, you should see no change except less CSS output. 0.10.6 (10/11/2010) ------------------- diff --git a/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss b/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss index 6d7dcd29..cf111806 100644 --- a/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +++ b/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss @@ -18,7 +18,7 @@ $default-box-shadow-v-offset: 1px !default; $default-box-shadow-blur: 5px !default; // The default spread length. -$default-box-shadow-spread : 0 !default; +$default-box-shadow-spread : false !default; // The default shadow instet: inset or false (for standard shadow). $default-box-shadow-inset : false !default;