mirror of
https://github.com/less/less.js.git
synced 2026-01-21 05:08:10 -05:00
fix regression in support for font property. fixes #1429
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user