DescriptionSpeed up moving cursor/selection up or down past non-renderered elements.
Skips calling firstPositionInOrBeforeNode when a node doesn't have a
renderer, since there couldn't possibly be a visible position there.
This was particularly wasteful when trying to move the cursor up when at
the beginning of a document, as it did a O(n^2) scan through the document head.
See bug for easy repro steps.
BUG=263499
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154977
Patch Set 1 #
Total comments: 3
Messages
Total messages: 6 (0 generated)
|