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;
}

View File

@@ -63,7 +63,7 @@ runTestSet({strictMath: true, dumpLineNumbers: 'all'}, "debug/", null,
function(name) { return name + '-all'; });
runTestSet({strictMath: true, relativeUrls: false, rootpath: "folder (1)/"}, "static-urls/");
runTestSet({strictMath: true, compress: true}, "compression/");
runTestSet({strictMath: false}, "legacy/");
runTestSet({ }, "legacy/");
testNoOptions();
function globalReplacements(input, directory) {