Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix tests for existing elements #311
You are right that there should be an extra check for
On older browsers this does work because before the adoption of the HTML5 unknown elements were not an descendant of HTMLElement.
The check for
Ah, ok, makes sense. Thanks for the feedback. So I guess the right way is to check for both? Compliant browsers won't fail in any of the cases. Do you want me to change the patch or do you want to do it? I don't mind either way. I just noticed that problem when using html5test as a basis to test some stuff and I thought I should contribute back.