[Bug 16176] [Shadow]: What should we do if an event happens on light child which is distributed to a insertion point.

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

--- Comment #20 from Dimitri Glazkov <dglazkov@chromium.org> 2012-05-14 21:10:09 UTC ---
(In reply to comment #19)
> Thank you for updating the spec, Dimitri!

Thank you for reviewing it! :)

> 
> About 6.2 Retargeting relatedTarget;
> 
> > 2. Let ANCESTOR be ADJUSTED
> 
> That should be '2. Let ANCESTOR be RELATED'.

Fixed.

> 
> > 1. If there is a DOM node that is a member of CANDIDATES and is in the same subtree as TARGET, let ADJUSTED be this DOM node
> 
> There may be multiple candidates in the same subree. In such case, we should
> pick up "the lowest'"candidate from the candidates.

Ah. good point. I think I need to change the CANDIDATES collection algorithm to
only pick up unique items.

> 
> > 2. Otherwise, let TARGET be the result of running the parent calculation algorithm with TARGET as input
> 
> That should not be 'the parent calculation algorithm'. The next TARGET should
> be either  'TARGET.parentNode() or TARGET.host(). If we use 'parent calculation
> algorithm' here, ADJUSTED might be a node which is not accessible from the
> NODE.

Ooh, you're right! Thanks, fixed.

http://dvcs.w3.org/hg/webcomponents/rev/6486c4deeb63

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 14 May 2012 21:10:13 UTC