[spv2] Account for flipped writing modes in paint offset
Flipped writing modes cause an object's offset to be flipped relative to its parent. This patch switches from using locationOffset to topLeftLocation which includes writing mode handling. This matches similar logic in PaintLayer::updateLayerPosition. A comment has been added about removing unnecessary craws back up the tree for calculating containing blocks. With this patch, all fast/block/positioning tests pass, modulo our lack of multicolumn fragment painting. BUG=614257 Review-Url: https://codereview.chromium.org/2031873005 Cr-Commit-Position: refs/heads/master@{#398110}
Showing
Please register or sign in to comment