Bug 153465

Summary: [iOS] Documents without an explicit width should not get fast tapping
Product: WebKit Reporter: Dean Jackson <dino>
Component: New BugsAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, esprehn+autocc, jonlee, kangil.han, wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch simon.fraser: review+

Dean Jackson
Reported 2016-01-25 16:39:20 PST
[iOS] Documents without an explicit width should not get fast tapping
Attachments
Patch (12.21 KB, patch)
2016-01-25 17:01 PST, Dean Jackson
no flags
Patch (12.98 KB, patch)
2016-01-26 03:12 PST, Dean Jackson
no flags
Patch (39.77 KB, patch)
2016-01-26 12:00 PST, Dean Jackson
simon.fraser: review+
Dean Jackson
Comment 1 2016-01-25 17:01:33 PST
Simon Fraser (smfr)
Comment 2 2016-01-25 17:23:53 PST
Comment on attachment 269818 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=269818&action=review > Source/WebCore/dom/ViewportArguments.cpp:310 > +static bool findSizeValue(const String& keyString, const String& valueString, Document* document, float& sizeValue) I think I have a minor preference to return the float, and have the bool& as a param.
Wenson Hsieh
Comment 3 2016-01-25 17:25:46 PST
Comment on attachment 269818 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=269818&action=review > Source/WebCore/ChangeLog:14 > + width was explicit. However, it turns out that those ImageDocuments I found this bit to be somewhat confusing, since an ImageDocument's viewport is explicitly set, but the flag would ship across to the UI process as false. Maybe it would be wise to send over an IsImageDocument flag as well, or just leave a comment where the flag is defined that explains this nuance.
Dean Jackson
Comment 4 2016-01-26 03:12:04 PST
Wenson Hsieh
Comment 5 2016-01-26 06:48:32 PST
Comment on attachment 269875 [details] Patch r=me!
Simon Fraser (smfr)
Comment 6 2016-01-26 11:02:02 PST
Comment on attachment 269875 [details] Patch Please make a test case.
Dean Jackson
Comment 7 2016-01-26 12:00:47 PST
Wenson Hsieh
Comment 8 2016-01-26 12:02:35 PST
Comment on attachment 269902 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=269902&action=review > LayoutTests/fast/events/ios/viewport-no-width-value-allows-double-tap.html:10 > + uiController.doubleTapAtPoint(15, 400, function() {}); The uiScriptComplete should be inside the completion callback to doubleTapAtPoint.
Dean Jackson
Comment 9 2016-01-26 12:10:23 PST
Note You need to log in before you can comment on or make changes to this bug.