Changeset 179847 in webkit
- Timestamp:
- Feb 9, 2015, 3:19:20 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebPage/ios/WebPageIOS.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r179828 r179847 1 2015-02-09 Enrica Casucci <enrica@apple.com> 2 3 Selection flickers when trying to change size of selection. 4 https://bugs.webkit.org/show_bug.cgi?id=141404 5 rdar://problem/18824863 6 7 Reviewed by Benjamin Poulain. 8 9 When looking for the contracted range from the current range, 10 we were incorrectly choosing a selection whose rectangle is empty 11 as a best match candidate. This was throwing off all the logic 12 and producing a contracted range whose rectangle was bigger than the 13 expanded range, therefore producing a shrink threshold larger than the 14 growth one. 15 16 * WebProcess/WebPage/ios/WebPageIOS.mm: 17 (WebKit::WebPage::contractedRangeFromHandle): 18 1 19 2015-02-09 Brian J. Burg <burg@cs.washington.edu> 2 20 -
trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm
r179409 r179847 1275 1275 IntRect copyRect = selectionBoxForRange(newRange.get()); 1276 1276 if (copyRect.isEmpty()) { 1277 bestRange = rangeForBlockAtPoint(testPoint); 1278 break; 1277 // If the new range is an empty rectangle, we try the block at the current point 1278 // and see if that has a rectangle that is a better choice. 1279 newRange = rangeForBlockAtPoint(testPoint); 1280 copyRect = selectionBoxForRange(newRange.get()); 1279 1281 } 1280 1282 bool isBetterChoice;
Note:
See TracChangeset
for help on using the changeset viewer.