-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Demix NonDocumentTypeChildNode #9065
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So much nicer! I can check if the collector would make any updates, but fee free to merge it if I don't get to it today.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again the situation was quite different for different interfaces, I'm glad we're splitting this!
Co-authored-by: Philip Jägenstedt <[email protected]>
Interesting! Thanks for your research, Philip! Having this split up is so good. Can't wait to make this more clear on MDN, too. |
NonDocumentTypeChildNode, read that again, NonDocumentTypeChildNode ...
So, what do you think it does? If you break it down, it is relatively simple: It adds two methods to Element and CharacterData. (why don't just say so, right?)
When documenting this as a mixin instead, you get this:
https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode
This PR re-arranges this piece of obscure art and I will definitely delete/re-write the MDN pages soon.