mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-13 06:38:48 +02:00
Bug 1224209 - Fix missing propagation of 'fixedPositionSides' to the compositor, and add it to the layers dump. r=mattwoodrow
--HG-- extra : commitid : 2Hz8MreXYr6
This commit is contained in:
parent
b1d360f06f
commit
2a5aedcbea
2 changed files with 3 additions and 1 deletions
|
|
@ -1914,8 +1914,9 @@ Layer::PrintInfo(std::stringstream& aStream, const char* aPrefix)
|
|||
}
|
||||
if (GetIsFixedPosition()) {
|
||||
LayerPoint anchor = GetFixedPositionAnchor();
|
||||
aStream << nsPrintfCString(" [isFixedPosition scrollId=%lld anchor=%s%s]",
|
||||
aStream << nsPrintfCString(" [isFixedPosition scrollId=%lld sides=0x%x anchor=%s%s]",
|
||||
GetFixedPositionScrollContainerId(),
|
||||
GetFixedPositionSides(),
|
||||
ToString(anchor).c_str(),
|
||||
IsClipFixed() ? "" : " scrollingClip").get();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -598,6 +598,7 @@ ShadowLayerForwarder::EndTransaction(InfallibleTArray<EditReply>* aReplies,
|
|||
if (mutant->GetIsFixedPosition()) {
|
||||
common.fixedPositionScrollContainerId() = mutant->GetFixedPositionScrollContainerId();
|
||||
common.fixedPositionAnchor() = mutant->GetFixedPositionAnchor();
|
||||
common.fixedPositionSides() = mutant->GetFixedPositionSides();
|
||||
common.isClipFixed() = mutant->IsClipFixed();
|
||||
}
|
||||
common.isStickyPosition() = mutant->GetIsStickyPosition();
|
||||
|
|
|
|||
Loading…
Reference in a new issue