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

HtmlUsage check of HTMLUnknownElement is returning false for unknown elements

Open gregwhitworth opened this issue 8 years ago • 0 comments

I have the following code in htmlUsage.js:

  // If the browser doesn't recognize the element - throw it away
    if(element instanceof HTMLUnknownElement) {
        return;
    }

This is not currently working and we need to figure out a way to make it so that we don't keep tags that aren't natively supported by the parser. Assigning to @arronei to look into this ASAP. For the time being if you could provide me with an array of specified HTML tags and we'll scope our current dataset to that until the script is updated.

gregwhitworth avatar Mar 03 '17 18:03 gregwhitworth