Re: [w3c/webcomponents] Does relatedTargetScoped need changes (#486)

> Isn't there some way that we could only do this of the original target was inside a shadow tree? That should avoid that concern I think.

That could be possible. Thus, in default:
- In a shadow tree, we do not dispatch an synthetic event if a target and relateTarget are same.
- In other cases, we still dispatch an synthetic event event if a target and relateTarget are same (for the compatibility)

Actually, Blink did a similar thing so that we do not break a compatibility in the past, AFAIR.

Then, we can rename the flag to *unScopedRelatedTarget* ( I do not have any good name), whose value is false in default in all cases.


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/486#issuecomment-215730100

Received on Friday, 29 April 2016 14:15:23 UTC