From f2918450040e7d1b0b8908788874ae5738945229 Mon Sep 17 00:00:00 2001 From: Eric Meyer Date: Mon, 19 Jul 2010 11:46:45 -0600 Subject: [PATCH] font-face arguments deprecated, not removed --- frameworks/compass/stylesheets/compass/css3/_font-face.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frameworks/compass/stylesheets/compass/css3/_font-face.scss b/frameworks/compass/stylesheets/compass/css3/_font-face.scss index ab91c578..9a8253f7 100644 --- a/frameworks/compass/stylesheets/compass/css3/_font-face.scss +++ b/frameworks/compass/stylesheets/compass/css3/_font-face.scss @@ -7,7 +7,10 @@ // for best results use this order: woff, opentype/truetype, svg // * $eot is required by IE, and is a relative location of the eot file. -@mixin font-face($name, $font-files, $eot: false) { +@mixin font-face($name, $font-files, $eot: false, $postscript: false, $style: false) { + @if $postscript or $style { + @warn "The $postscript and $style variables have been deprecated in favor of the Paul Irish smiley bulletproof technique."; + } @font-face { font-family: "#{$name}"; @if $eot {