[Bug 26892] [Shadow]: Consider not using AT_TARGET more than once in the event path

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

--- Comment #3 from Olli Pettay <bugs@pettay.fi> ---
(In reply to Dimitri Glazkov from comment #2)
> > 
> > What we may need is some way to say that events x,y,z shouldn't propagate
> > out from the shadow dom, either in capture or bubble phase.
> 
> Yes! That's what I said in the first comment! :)
I don't see it mentioned in the first comment ;)

I'm thinking some API like
interface ShadowRoot {
  ...

  void setEncapsulatedEvents(sequence<DOMString> types);
}
That would prevent propagation of those events in case the event is originally
from somewhere under the shadow tree (i.e. shadowhost.contains(event.target)
would return false or so)

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

Received on Wednesday, 24 September 2014 16:33:12 UTC