10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8774a43 + 6333fdd commit b235734Copy full SHA for b235734
lib/less/parser.js
@@ -684,7 +684,7 @@ less.Parser = function Parser(env) {
684
var value, c = input.charCodeAt(i);
685
if ((c > 57 || c < 45) || c === 47) return;
686
687
- if (value = $(/^(-?\d*\.?\d+)(px|%|em|rem|pc|ex|in|deg|s|ms|pt|cm|mm|rad|grad|turn)?/)) {
+ if (value = $(/^(-?\d*\.?\d+)(px|%|em|rem|pc|ex|in|deg|s|ms|pt|cm|mm|rad|grad|turn|dpi)?/)) {
688
return new(tree.Dimension)(value[1], value[2]);
689
}
690
},
0 commit comments