Chromium Code Reviews
DescriptionEnsure that we consistently check contains: paint for fixed position containment.
contains: paint; should contain fixed position descendants, however we had only
updated this check in one place while we have many other places in the code
which simply checked for having transform related properties. This patch
attempts to unify all of these code paths to call through
ComputedStyle::canContainFixedPositionObjects.
TEST=fast/css/containment/paint-containment-with-fixed-position-scrolled.html, LayoutGeometryMapTest.ContainsFixedPositionTest, MapCoordinatesTest.FixedPosInTransform, MapCoordinatesTest.FixedPosInContainPaint
BUG=619999
Committed: https://crrev.com/139b50e91d0d86ad4ee31957a003dad264f38435
Cr-Commit-Position: refs/heads/master@{#408002}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Add unit test for fixed position containment in LayoutGeometryMap. #Patch Set 3 : Add tests for mapLocalToAncestor and mapAncestorToLocal. #Patch Set 4 : Remove trailing whitespace #
Total comments: 5
Messages
Total messages: 28 (17 generated)
|