Bug 149758

Summary: Cannot select certain text on Wikipedia homepage even when zoomed in
Product: WebKit Reporter: Enrica Casucci <enrica>
Component: WebKit2Assignee: Enrica Casucci <enrica>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, mitz, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: iOS 9.0   
Attachments:
Description Flags
Patch mitz: review+

Description Enrica Casucci 2015-10-02 12:23:51 PDT
* STEPS TO REPRODUCE
1. Go to wikipedia.org 
2. Select any plain text


* RESULTS
Expected: Should be able to select text.
Actual: Cannot select text. The page is mostly links, but even zooming in on plain text does not allow for selecting text. Event tapAndHalf doesn't work on links.
Comment 1 Enrica Casucci 2015-10-02 12:33:53 PDT
Created attachment 262346 [details]
Patch
Comment 2 WebKit Commit Bot 2015-10-02 12:37:26 PDT
Attachment 262346 [details] did not pass style-queue:


ERROR: Source/WebKit2/UIProcess/WebPageProxy.h:467:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/WebPageProxy.h:474:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/WebPageProxy.h:475:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/WebPageProxy.h:476:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/WebPageProxy.h:479:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm:369:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm:441:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm:452:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm:474:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm:496:  Extra space before ( in function call  [whitespace/parens] [4]
Total errors found: 10 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 mitz 2015-10-02 13:48:08 PDT
Looks really good. Why can’t we have a regression test?
Comment 4 Enrica Casucci 2015-10-02 14:16:27 PDT
(In reply to comment #3)
> Looks really good. Why can’t we have a regression test?

I'll add it as soon as Simon has the long press working.
Comment 5 Enrica Casucci 2015-10-05 11:51:08 PDT
Thanks for the review!

Committed revision 190568.