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

Add note that "A ShadowRoot node has no parent." #770

Closed
mbrodesser opened this issue Jun 27, 2019 · 1 comment
Closed

Add note that "A ShadowRoot node has no parent." #770

mbrodesser opened this issue Jun 27, 2019 · 1 comment

Comments

@mbrodesser
Copy link

The spec:

https://dom.spec.whatwg.org/commit-snapshots/b5eac4d624b229232e8c2e347d6b532172f73439/#interface-node

already notes:

An Attr node has no parent.

It'd be helpful if the note additionally contained "A ShadowRoot node has no parent.".

@annevk
Copy link
Member

annevk commented Aug 5, 2021

I'm going to remove these Attr node notes, but I'll fix https://dom.spec.whatwg.org/#node-trees instead. That seems like a better place to put all the information about parent/child relationships nodes can have. It already seems adequate for DocumentFragment/ShadowRoot, but #1004 will make it better still.

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

No branches or pull requests

2 participants