CSSLint: update <image> type
https://drafts.csswg.org/css-images-3/#typedef-image
This commit is contained in:
parent
15ae02baa1
commit
460e5d45e8
|
@ -690,7 +690,7 @@ self.parserlib = (() => {
|
|||
|
||||
'<basic-shape>': 'inset() | circle() | ellipse() | polygon()',
|
||||
|
||||
'<bg-image>': '<image> | <gradient> | none',
|
||||
'<bg-image>': '<image> | none',
|
||||
|
||||
'<blend-mode>': 'normal | multiply | screen | overlay | darken | lighten | color-dodge | ' +
|
||||
'color-burn | hard-light | soft-light | difference | exclusion | hue | ' +
|
||||
|
@ -774,7 +774,7 @@ self.parserlib = (() => {
|
|||
return this['<ident>'](part) && !this['<generic-family>'](part);
|
||||
},
|
||||
|
||||
'<image>': '<uri>',
|
||||
'<image>': '<uri> | <gradient> | cross-fade()',
|
||||
|
||||
'<inflexible-breadth>': '<length-percentage> | min-content | max-content | auto',
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user