3 ms·
Maybe the validator should be something like Object.getPrototypeOf(document.createElement("a")).constructor !== HTMLUnknownElement I noticed several functional
by blixt 2y ago
Maybe the validator should be something like Object.getPrototypeOf(document.createElement("a")).constructor !== HTMLUnknownElement
I noticed several functional HTML elements (like "font") were not in the list, so might be nice to just trust the browser (not sure how you'd get the correct count per browser though).
- dotancohen 2y agoThat might make the results browser-dependent.