css-usage icon indicating copy to clipboard operation
css-usage copied to clipboard

Only support HTML/SVG in HTML usage

Open gregwhitworth opened this issue 7 years ago • 0 comments

 // 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.

gregwhitworth avatar Aug 08 '18 00:08 gregwhitworth