css-usage
css-usage copied to clipboard
Only support HTML/SVG in HTML usage
// If the browser doesn't recognize the element - throw it away
if(element instanceof HTMLUnknownElement) {
return;
}
Currently I'm throwing away unsupported elements as it results in all kinds of mess, but we should convert this to only elements that are in the HTML or SVG namespaces.