- From: <bugzilla@jessica.w3.org>
- Date: Fri, 22 Mar 2013 06:50:00 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21067 --- Comment #11 from Hayato Ito <hayato@chromium.org> --- Note that we can not traverse every nodes on eventPath by using only insertionParent. That means we cannot emulate event.path by insertionParent. The reason is the reprojection. We can not traverse all intermediate insertion points, through which the node is reprojected. Since insertionParent is stateless. To emulate event.path, we need an additional parameter, the original event target node, like: element.parentOnEventPath(eventTarget) (In reply to comment #10) > As for ShadowRoot.insertionParent, let me raise an question. > > Suppose a shadow host has two multiple shadow roots as follows: > > [older_shadowroot] > - <div id=div1> > > [younger_shadowroot] > - <shadow id=shadow1> > > > 1. What should be 'div1.insertionParent'? > > I am sure that should be 'div1.insertionParent == shadow1', right? > It's consistent with <content> element case. > > 2. What should be older_shadowroot.insertionParent? > > I am wondering that should be 'older_shadowroot.insertionParent == > shadow1' or not. > > > I feel some strangeness for 'div1.insertionParent == > older_shadowroot.insertionParent == shadow1'. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Friday, 22 March 2013 06:50:02 UTC