DescriptionUnify code paths for fixed and absolutely positioned objects in accumulateOffsetTowardsAncestor().
Deleted most of the code specific to handling of fixed-positioned objects, and
have fixed-positioned objects use the code for absolutely positioned objects
instead. One piece needs to be kept, though: If the container of a fixed
positioned object is the viewport, we need to make sure that we call
LayoutObject::localToAbsolute() to calculate the correct position, since
DeprecatedPaintLayer::location() doesn't handle fixed-positioning properly.
This gets rid of an assertion failure that would trigger when we had a multicol
with a transform with a fixedpos.
BUG=496929
R=chrishtr@chromium.org,jchaffraix@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199725
Patch Set 1 #
Total comments: 6
Patch Set 2 : Make a reftest instead. #Patch Set 3 : Fix comment #
Messages
Total messages: 7 (2 generated)
|