You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, view.AttributeElements which have id property set are linked together in view.Writer in so called "clone groups". All elements with the same id that are still in document tree are inside the group.
When elements are removed from the document tree, they are removed from the groups. However, the function that does so is not looking recursively for the elements.
That means that in following scenarios it will fail to remove <span class="a">:
Additionally, I noticed that the attribute elements might be added to clone groups if they are added in a DocumentFragment (outside of document tree) which is wrong too.
Currently,
view.AttributeElement
s which haveid
property set are linked together inview.Writer
in so called "clone groups". All elements with the same id that are still in document tree are inside the group.When elements are removed from the document tree, they are removed from the groups. However, the function that does so is not looking recursively for the elements.
That means that in following scenarios it will fail to remove
<span class="a">
:The text was updated successfully, but these errors were encountered: