csslint: allow "transparent" in SVG colors
This commit is contained in:
parent
f3be825d25
commit
0eaee16f7e
|
@ -6431,7 +6431,8 @@ copy(ValidationTypes, {
|
||||||
"<paint>": "<paint-basic> | <uri> <paint-basic>?",
|
"<paint>": "<paint-basic> | <uri> <paint-basic>?",
|
||||||
|
|
||||||
// Helper definition for <paint> above.
|
// Helper definition for <paint> above.
|
||||||
"<paint-basic>": "none | currentColor | <color-svg> <icccolor>?",
|
// Note: "transparent" is an accepted color now in SVG
|
||||||
|
"<paint-basic>": "none | currentColor | <color-svg> <icccolor>? | transparent",
|
||||||
|
|
||||||
"<position>":
|
"<position>":
|
||||||
// Because our `alt` combinator is ordered, we need to test these
|
// Because our `alt` combinator is ordered, we need to test these
|
||||||
|
|
Loading…
Reference in New Issue
Block a user