[Bug 23887] [Shadow] Put only the final destination insertion point to the event path

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23887

--- Comment #152 from Koji Ishii <kojiishi@gmail.com> ---
(In reply to Olli Pettay from comment #150)
> (In reply to Koji Ishii from comment #148)
> > Sorry, I simplified the test case too much. The reproducible case is:
> > 
> > A
> >   SR
> >     SIP
> >   B
> > 
> > In this tree, B's destination insertion point is not empty, but B is not
> > distributed. When an event fired on B:
> > Current: B, SIP, SR, A, Document, Window
> > Proposed: B
> 
> Wait, what is the destination insertion point for B in this case? And why?
> 
> The spec says
> "Each node that is not an insertion point has an ordered list, called
> destination insertion points, which consists of insertion points to where
> the node is distributed"
> So how can B's destination insertion point list be non-empty but B is not
> distributed. 
> That seems to contradict with the definition of 'destination insertion
> points'.
> 
> Or do I misunderstand something here?

I agree it's weird. I had to re-read the spec when investigating this issue,
but the SIP above meets the criteria defined in "3.3 Shadow Insertion Points"
http://w3c.github.io/webcomponents/spec/shadow/#h-shadow-insertion-points

I opened bug 28031 for this. I'm ok either way, just want it to be
interoperable.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 16 February 2015 01:56:28 UTC