The list of supported HTML and SVG elements is growing quite large, and it's very easy to miss a typo.
This rule checks each type selector to make sure that it is a known HTML or SVG element.
blabla { /* Noncompliant: 'blabla' is not a known HTML or SVG element */
color: red;
}
span {
color: red;
}
Extracted from the HTML Living Standard.
[[allHtmlElements]]Extracted from the W3C SVG Specifications.
[[allSvgElements]]md- are considered as AngularJS Materials type
selectors and do not raise any issue.
Exclusions parameter.