Re: [shadow-dom] Event Retargeting

2013-02-13 Thread Anne van Kesteren
On Tue, Feb 12, 2013 at 5:49 PM, Dimitri Glazkov wrote: > As you can see, no details about the shadow tree have leaked. This is a > simple example, but once you get into nested trees, you'll see that the algo > still works. Thanks, I misread pop STACK as clear STACK. My bad. (Also thanks for open

Re: [shadow-dom] Event Retargeting

2013-02-12 Thread Dimitri Glazkov
On Tue, Feb 12, 2013 at 7:55 AM, Anne van Kesteren wrote: > The more I read this algorithm to figure out how to rewrite DOM event > dispatch the more confused I get. For starters it would probably help > if ancestor was renamed to event parent. > Well.. I am not sure what event parent is, but th

[shadow-dom] Event Retargeting

2013-02-12 Thread Anne van Kesteren
The more I read this algorithm to figure out how to rewrite DOM event dispatch the more confused I get. For starters it would probably help if ancestor was renamed to event parent. I was wondering if this rewrite of 3.1-3.3 is correct: 1. Let CONTEXT be null. 2. If ANCESTOR is an insertion point,