Bug 44166 - Safari on iPad does not trigger some touch events when caught in iframe
Summary: Safari on iPad does not trigger some touch events when caught in iframe
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac Other
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 05:24 PDT by Volker Gersabeck
Modified: 2011-01-06 12:52 PST (History)
1 user (show)

See Also:


Attachments
Demo of the bug. please open on ipad (1.28 KB, application/zip)
2010-08-18 05:24 PDT, Volker Gersabeck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Gersabeck 2010-08-18 05:24:44 PDT
Created attachment 64692 [details]
Demo of the bug. please open on ipad

I'm not sure whether this is the correct place to file this bug, but I'm afraid that my post in Apple's bugreporter will be lost somewhere, since I didn't get any response (or confirmation that I filed the bug) for two days. Please ignore this, if it is not webkit related.

Summary: When having an iFrame in a web page loaded with iPad's Safari, touch events are sometimes not triggered. Since it works if the iFrame is located on top left position of the whole page, my guess is that any translation of the iframe is not calculated while traveling the iframes dom to search for event handlers.

Steps to Reproduce: add an iframe and place it at e.g. top:200px. add some ontouchXX events to the iframe's content and try to trigger them on an ipad. If the dom element is higher than 200px, the event is triggered anywhere above a line that is 200px from the bottom of that dom element.

Expected Results:the event is triggered when I touch the dom element anywhere and not just on some areas depending on where the iframe is located.

Actual Results: the event is only triggered in some areas.

See attachment for a demo of the bug.
Comment 1 Alexey Proskuryakov 2011-01-06 12:52:18 PST
Please file iOS specific bugs via http://bugreport.apple.com. IOS WebKit isn't built from webkit.org sources directly, so we can't track its bugs here.

Sorry for not noticing this earlier.