From 2189e28c65017ad8b12e9c765d1ae5af9dd222f1 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 3 Oct 2008 11:27:46 -0700 Subject: [PATCH] Don't set background properties that aren't relevant to the text replacement. --- .../stylesheets/compass/utilities/text/_replacement.sass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass b/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass index 65d615b3..c891ff6a 100644 --- a/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +++ b/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass @@ -4,4 +4,7 @@ =replace-text( !img, !x = 50%, !y = 50% ) :text-indent -9999em :overflow hidden - :background= url(!img) no-repeat scroll !x !y + :background + :image= url(!img) + :repeat no-repeat + :position= !x !y