Re: [webcomponents] [Shadow]: Make event retargeting optional (bugzilla: 28444) (#89)

Note: According to the resolution at f2f, [1], "no separation--always retarget". 
[1] https://www.w3.org/wiki/Webapps/WebComponentsApril2015Meeting

We should do "retargeting events" for "open shadow trees" *by default*.

I don't think we should allow turning retargeting off, it violates the "never fall into a shadowRoot by mistake principle". Unless there is an explicit intention, any existing APIs shouldn't allow users to access the shadow tree by accident. "event.target" is one of such APIs.

As for "opt-out of retargeting", which is an explicit intention, I don't have any strong opinion.
If you feel that we should have a way to "opt-out", please give us feedback.







---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/89#issuecomment-123791740

Received on Wednesday, 22 July 2015 16:59:23 UTC