Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DocumentFragment.getElementById() not implemented #58

Open
balmoral opened this issue Feb 11, 2016 · 1 comment
Open

DocumentFragment.getElementById() not implemented #58

balmoral opened this issue Feb 11, 2016 · 1 comment

Comments

@balmoral
Copy link

DocumentFragment.getElementById() is not implemented for Browser::DOM::DocumentFragment

https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment

@hmdne
Copy link
Member

hmdne commented Jul 5, 2020

DocumentFragment implements ParentNode which doesn't implement getElementById (this may change in the future though). We wrongly assume at this point, that DocumentFragment inherits from Element, but actually it inherits from Node. A robust implementation should implement a module ParentNode which would be included by both Element, DocumentFragment and Document (and make them all inherit from Node).

See #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants