Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



That might make the results browser-dependent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: