fix regression in support for font property. fixes #1429

This commit is contained in:
Luke Page
2013-07-20 14:49:15 +01:00
parent 67bd5a2028
commit bc33e6bfbe
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ tree.Rule.prototype = {
},
eval: function (env) {
var strictMathBypass = false;
if (this.name === "font" && env.strictMath === false) {
if (this.name === "font" && !env.strictMath) {
strictMathBypass = true;
env.strictMath = true;
}