Some events, such as a 'click' events, can happen on nodes in an orphaned shadow subtree. When resolving a parent node of a shadow root which is not assigned to any shadow insertion point, we have to return its shadow host as a parent node.
Created attachment 144985 [details] fix parent node of non-assigned shadow root.
I added a bug 87493 as dependency since ChageLog description has dependency. The patch itself can be applied without 87493.
Comment on attachment 144985 [details] fix parent node of non-assigned shadow root. View in context: https://bugs.webkit.org/attachment.cgi?id=144985&action=review > Source/WebCore/ChangeLog:3 > + Supports traversing nodes in an orphaned shadow subtree in ComposedShadowTreeParentWalker. Why is this different from the bug title? > Source/WebCore/ChangeLog:8 > + Some events, such as a 'click' event, can happen on nodes in an orphaned shadow subtree. Nit: happen > can be dispatched
Comment on attachment 144985 [details] fix parent node of non-assigned shadow root. Thank you for the review. I'll upload a patch soon. View in context: https://bugs.webkit.org/attachment.cgi?id=144985&action=review >> Source/WebCore/ChangeLog:3 >> + Supports traversing nodes in an orphaned shadow subtree in ComposedShadowTreeParentWalker. > > Why is this different from the bug title? That's out of sync. I updated the bug title. >> Source/WebCore/ChangeLog:8 >> + Some events, such as a 'click' event, can happen on nodes in an orphaned shadow subtree. > > Nit: happen > can be dispatched Done.
Created attachment 145274 [details] iter
Comment on attachment 145274 [details] iter Clearing flags on attachment: 145274 Committed r119365: <http://trac.webkit.org/changeset/119365>
All reviewed patches have been landed. Closing bug.