This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23769 - [Shadow]: Event retargeting algorithm should consider the case of multiple shadow roots.
Summary: [Shadow]: Event retargeting algorithm should consider the case of multiple sh...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Hayato Ito
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 22715
  Show dependency treegraph
 
Reported: 2013-11-08 05:01 UTC by Hayato Ito
Modified: 2014-01-21 10:56 UTC (History)
2 users (show)

See Also:


Attachments

Description Hayato Ito 2013-11-08 05:01:05 UTC
Event retargeting algorithm doesn't work nicely if an event happens in older shadow root and an event listener would be invoked in a node in the younger shadow root. In current algorithm, it will retarget it's target to the shadow host.

https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#event-retargeting
Comment 1 Hayato Ito 2014-01-20 08:30:32 UTC
Let me rise this bug's priority. We have to resolve this issue to make the spec bug-free.
Comment 2 Hayato Ito 2014-01-20 08:32:26 UTC
To resolve this issue nicely, I might have to use the result of the bug23770.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23770
Comment 3 Hayato Ito 2014-01-21 10:56:11 UTC
I think this can be addressed by re-defining tree of trees in https://github.com/w3c/webcomponents/commit/cdd1882c4739a997a93c99da43572db355d1793b.