CSSLint: add conic-gradient
https://www.w3.org/TR/css-images-4/#gradients
This commit is contained in:
parent
79f6e7c3b3
commit
74eb7c7ecd
|
@ -757,7 +757,7 @@ self.parserlib = (() => {
|
|||
|
||||
'<gradient>': part =>
|
||||
part.type === 'function' &&
|
||||
/^(?:-(?:ms|moz|o|webkit)-)?(?:repeating-)?(?:radial-|linear-)?gradient/i.test(part),
|
||||
/^(?:-(?:ms|moz|o|webkit)-)?(?:repeating-)?(?:radial-|linear-|conic-)?gradient/i.test(part),
|
||||
|
||||
//eslint-disable-next-line no-use-before-define
|
||||
'<hex-color>': part => part.tokenType === Tokens.HASH,
|
||||
|
|
Loading…
Reference in New Issue
Block a user