DescriptionDon't rely on values computed as a side effect of paint.
Contrary to the assertions on the bug, the current code is correct. As
the user changes the selection, there will naturally be a visual
affordance to indicate the selection changes. By the time we scroll,
RL::hasBlockSelectionGapsBounds will be current and correct.
That said, the hope is that in the future paint will have no side
effects at all, nor do we want layout tests to require repaints during
their execution. So even if this is technically correct it's undesirable
on a number of levels.
This cl replaces the use of hasBlockSelectionGapsBounds with non-paint
related code (in fact, that function could be removed entirely).
R=abarth@chromium.org
BUG=353827
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169752
Patch Set 1 #
Total comments: 2
Patch Set 2 : . #
Messages
Total messages: 12 (0 generated)
|