[whatwg] seamless iframes and event propagation
dglazkov at chromium.org
Mon Jul 16 09:24:16 PDT 2012
On Sat, Jul 14, 2012 at 4:45 AM, Olli Pettay <Olli.Pettay at 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.
More information about the whatwg