Closed NielsLeenheer closed 14 years ago
You are correct, but being an HTMLElement is correct for new HTML5 elements, regardless if it also true for unknown elements.
One thing I could add is to check for the correct display type according to 10.2.2 of the HTML5 spec.
Added a check for presentational styles in 06f268397fbd5b215e3c6c49f525958ddc32d90f
html5test.com check for elements is flawed. WebKit's toString is HTMLElement for any unknown element. toString seems fragile anyway
/via pornelski