Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

instanceof HTMLUnknownElement #59

Closed
wants to merge 1 commit into from
Closed

instanceof HTMLUnknownElement #59

wants to merge 1 commit into from

Conversation

saschanaz
Copy link
Contributor

I think current HTML5 Layout test is not so proper when document.createElement always returns HTMLElement.

document.createElement('abc') instanceof HTMLElement

returns 'true.'
Thus, I fixed it by checking whether it is 'HTMLUnknownElement'

I think current HTML5 Layout test is not so proper when document.createElement always returns HTMLElement. 

    document.createElement('abc') instanceof HTMLElement

returns 'true'.
Thus, I fixed it by checking whether it is 'HTMLUnknownElement'
@saschanaz saschanaz closed this Mar 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant