RESOLVED FIXED 134267
iOS WebKit2: block selection tends to prefer block to single words even when the page is zoomed.
https://bugs.webkit.org/show_bug.cgi?id=134267
Summary iOS WebKit2: block selection tends to prefer block to single words even when ...
Enrica Casucci
Reported 2014-06-24 13:21:42 PDT
This is easily reproduced on pages like reddit.com, browsing through the comments, zooming the page and trying to select a word. <rdar://problem/17138059>
Attachments
Patch (2.04 KB, patch)
2014-06-24 13:27 PDT, Enrica Casucci
benjamin: review+
Enrica Casucci
Comment 1 2014-06-24 13:27:44 PDT
Benjamin Poulain
Comment 2 2014-06-24 13:33:11 PDT
Comment on attachment 233734 [details] Patch The change makes sense. I would create a second rect (a FloatRect) especially for that purpose. Something like: FloatRect boundingRectInScrollViewCoordinates(boundingRect); boundingRectInScrollViewCoordinates.scale(...). To make it explicit which that rect is not in document coordinates.
Enrica Casucci
Comment 3 2014-06-24 13:45:33 PDT
Committed revision 170388.
Note You need to log in before you can comment on or make changes to this bug.