Check ignore next warning comments in a warn() helper
This commit is contained in:
1 parent
e47232149a
commit
dc4f2415a8
7 files changed
+121
-82
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user