DescriptionAvoid markDirty when removing out-of-flow line boxes.
Previously, we did a markDirty(false) on the root line box in order to
rectify the dirtyness caused by removing out-of-flow line boxes after layout.
However, there were line boxes between root line box and the out-of-flow box
that were left dirty. Instead we now avoid calling markDirty in the first
place and remove the rectification code.
Likewise, avoid markDirty when removing empty text renderers as mentioned in
the removed comment. I tried to stop removing line boxes for the empty text
renderers as the FIXME says, but the changed test expectations got too scary.
Alternatively, we would have had to traverse the line box tree until we had
cleaned all dirty bits.
R=leviw@chromium.org,eseidel@chromium.org
BUG=362671
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172550
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|