Check ignore next warning comments in a warn() helper

This commit is contained in:
dualfroz committed 2026-10-05 23:11:46 +02:00
1 parent e47232149a
commit dc4f2415a8
7 files changed
+121 -82

No files matched your search

+3 -2
View File
@@ -370,9 +370,10 @@ class Gradient extends Value {
/^(calc|min|max|clamp)$/i.test(tokens[0].value)))
) {
if (decl && result) {
decl.warn(
utils.warn(
result,
'Gradient color hints are not supported by old WebKit'
'Gradient color hints are not supported by old WebKit',
{ node: decl }
)
}
return false