diff options
author | justing <justing@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2006-03-21 06:22:21 +0000 |
---|---|---|
committer | justing <justing@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2006-03-21 06:22:21 +0000 |
commit | 4036db73ae31e9e6d2670ff809e14977650a9901 (patch) | |
tree | cda956b3e4ae446150c95b771540f69e2f4b819b /third_party/WebKit/LayoutTests/fast/tokenizer/resources/external-script-document-open.js | |
parent | 05b843abcf9ce3f87bc5804ffc77f6ad8026caa4 (diff) | |
download | chromium_src-4036db73ae31e9e6d2670ff809e14977650a9901.zip chromium_src-4036db73ae31e9e6d2670ff809e14977650a9901.tar.gz chromium_src-4036db73ae31e9e6d2670ff809e14977650a9901.tar.bz2 |
Reviewed by darin
<rdar://problem/3997958>
REGRESSION (Mail): Mail takes half of forever to paste >1500 lines - replaceSelectionWithNode
* dom/Position.cpp:
(WebCore::Position::upstream): Avoid calling previous() when we know that
it will 1) end the search and 2) be expensive to compute.
(WebCore::Position::downstream): Removed some dead code.
(WebCore::Position::inRenderedText): Return false for offsets inside composed characters.
* dom/Position.h:
* editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::init): If there are two visually equivalent candidates, we choose
the one that occurs first in document order. Using upstream() to find the one that occurs first is
much faster than the old code.
git-svn-id: svn://svn.chromium.org/blink/trunk@13412 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/tokenizer/resources/external-script-document-open.js')
0 files changed, 0 insertions, 0 deletions