DescriptionRefactor PaintLayer location and offset calculation especially for floats
This is a follow-up of https://codereview.chromium.org/2647383004/
to cleanup the logic.
Add PaintLayer::containingLayer() (based on the previous
containgLayerForOutOfFlowPositioned()) to return the containing
layer for any layer and use it during location and offset
calculation.
BTW, this also fixes a hidden bug about layer location of float and
multicol spanner in scrolled containing block which is not the
parent layer.
BUG=683576
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2650873002
Cr-Commit-Position: refs/heads/master@{#446568}
Committed: https://chromium.googlesource.com/chromium/src/+/d8e6e751f1e8982648cb06bf74889544a5733d04
Patch Set 1 #Patch Set 2 : Refactor PaintLayer location and offset calculation #Patch Set 3 : - #
Total comments: 5
Patch Set 4 : Test the bug fixed BTW #
Total comments: 2
Patch Set 5 : - #Messages
Total messages: 25 (15 generated)
|