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.
1 parent d6f7769 commit 472375eCopy full SHA for 472375e
lib/properties/clip.js
@@ -1,6 +1,6 @@
1
"use strict";
2
// deprecated
3
-// @see https://drafts.fxtf.org/css-masking/#clip-property
+// @see https://drafts.csswg.org/css-masking-1/#clip-property
4
5
const parsers = require("../parsers");
6
@@ -25,7 +25,7 @@ module.exports.parse = function parse(v, opt = {}) {
25
const parsedValues = [];
26
for (const item of values) {
27
const parsedValue = parsers.parseCSS(item, { context: "value" }, true);
28
- const val = parsers.parseLengthPercentage(parsedValue.children);
+ const val = parsers.parseLength(parsedValue.children);
29
if (val) {
30
parsedValues.push(val);
31
} else {
0 commit comments