Stabilize LayoutSelection
This patch stabilizes LayoutSelection by letting it be off from LayoutObject reference. Design doc: https://bit.ly/2KT87L9 Algorithm updates: Mark SelectionState::kContain to all ascendants of each leaf selected node on flat tree. Do nothing while Node/LayoutObject::RemoveChild(). At prepaint phase, collect all selected LayoutObject from root using kContain on flat tree. Bug: 843144 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ib4b39c621043d5fe03f46e0ce8b4d2b972e9ed3e Reviewed-on: https://chromium-review.googlesource.com/1125709Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Kent Tamura <tkent@chromium.org> Reviewed-by:
Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#577114}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment