-
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
incorrect result of FlattenedNodesObserver #5505
Comments
what I want is the list the children of the slot element. is there any other method to get them without the full children tree? |
I think you want https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedNodes with |
it also having above bug |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen! |
i found some elements could unlimit to list in the addedNodes. like:
<img><a>
sample 1
result is :
<div><img><a><a><a><a></a></a></a></a></img></div>
sample 2
result is :
<div><img><span></span></img></div>
sample 3
result is :
<div><span></span></div>
The text was updated successfully, but these errors were encountered: