summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/qt/QtAbstractWebPopup.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-07-08 17:02:39 -0400
committerCary Clark <cary@android.com>2010-07-09 15:45:46 -0400
commitc69490c357eedc0e672a7a88aae8a543ea3bebe7 (patch)
treec871a42d098df9c63eb3140424ff4607ae4a9d62 /WebCore/platform/qt/QtAbstractWebPopup.cpp
parente32ff802ed0d82511f12c353a1e84bf49b1a284b (diff)
downloadexternal_webkit-c69490c357eedc0e672a7a88aae8a543ea3bebe7.zip
external_webkit-c69490c357eedc0e672a7a88aae8a543ea3bebe7.tar.gz
external_webkit-c69490c357eedc0e672a7a88aae8a543ea3bebe7.tar.bz2
handle out of order selections
Usually, the text on a webpage is drawn from top to bottom but sometimes it is drawn out of order. In these cases the picture finds the select end before it finds the select start. When the select start and end are ordered, all of the text in the picture between the two are selected. This allows selecting all of the text on the page, even if the start isn't spacially before the end. When the select start and end are flipped, select the text spacially between the two. The flipped page scenario was found by http://code.google.com/p/android/issues/detail?id=8533 Change-Id: Ia22d49396d68fefc3d64fad438c4b0c02f668c1c
Diffstat (limited to 'WebCore/platform/qt/QtAbstractWebPopup.cpp')
0 files changed, 0 insertions, 0 deletions