W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2012

Re: [whatwg] seamless iframes and event propagation

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Mon, 16 Jul 2012 09:24:16 -0700
Message-ID: <CADh5Ky08jbMkNfaG_WcApDz+hCZSx_gNK+G-mSiJ0DTgmFz6Gw@mail.gmail.com>
To: olli@pettay.fi
Cc: whatwg <whatwg@lists.whatwg.org>, Eric Seidel <eric@webkit.org>, Adam Barth <w3c@adambarth.com>, Ojan Vafai <ojan@chromium.org>
On Sat, Jul 14, 2012 at 4:45 AM, Olli Pettay <Olli.Pettay@helsinki.fi> wrote:
> On 07/14/2012 12:38 AM, Ojan Vafai wrote:
>> It's been pointed out to me that what I'm asking for is essentially the
>> same retargeting as we do for shadow DOMs in web components, where the
>> iframe is the shadow host and the document is the shadow root. This covers
>> all the details of what properties need to be updated when crossing the
>> document boundary. The only addition on top of that is that we need to
>> convert the coordinate space of mouse events appropriately when we cross
>> the boundary.
> What, you'd propagate mouse events to parent doc but update coordinate related coordinates when
> passing the doc boundary... that is odd.
> Something in the original target document may keep a reference to the event and then suddenly during event dispatch the
> coordinate values would change.

We should probably recreate an event object at each seamless frame boundary.

Received on Monday, 16 July 2012 16:24:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:43 UTC