Skip to content

Commit

Permalink
Fix false positives for SVG elements in selector-type-case (#5973)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouvedia committed Mar 18, 2022
1 parent 28a250f commit 53470a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/reference/keywordSets.js
Expand Up @@ -767,8 +767,11 @@ keywordSets.nonStandardHtmlTags = new Set([
'xmp',
]);

// extracted from https://developer.mozilla.org/en-US/docs/Web/SVG/Element
keywordSets.validMixedCaseSvgElements = new Set([
'altGlyph',
'altGlyphDef',
'altGlyphItem',
'animateColor',
'animateMotion',
'animateTransform',
'clipPath',
Expand Down Expand Up @@ -798,6 +801,7 @@ keywordSets.validMixedCaseSvgElements = new Set([
'feTile',
'feTurbulence',
'foreignObject',
'glyphRef',
'linearGradient',
'radialGradient',
'textPath',
Expand Down

0 comments on commit 53470a0

Please sign in to comment.