mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 967587. Back out this hunk of bug 946502 part 3 until we can fix the regressions. r=mattwoodrow
--HG-- extra : rebase_source : d52729121395a8a59c99e4e30a4565b8eab7f13d
This commit is contained in:
parent
a4ce3a842e
commit
b275242936
@ -2161,14 +2161,6 @@ ContainerState::FindThebesLayerFor(nsDisplayItem* aItem,
|
||||
thebesLayerData->mLayer = layer;
|
||||
thebesLayerData->mAnimatedGeometryRoot = aActiveScrolledRoot;
|
||||
thebesLayerData->mReferenceFrame = aItem->ReferenceFrame();
|
||||
if (!aActiveScrolledRoot->GetParent() &&
|
||||
nsLayoutUtils::ViewportHasDisplayPort(aActiveScrolledRoot->PresContext())) {
|
||||
// The active scrolled root is the viewport, so this is background-attachment:fixed
|
||||
// or fixed-pos elements or something like that. Async scrolling may
|
||||
// do magic things to move these layers, so don't allow any regular content
|
||||
// to be pushed to layers below them; that might turn out to be incorrect.
|
||||
thebesLayerData->SetAllDrawingAbove();
|
||||
}
|
||||
|
||||
NS_ASSERTION(!mNewChildLayers.Contains(layer), "Layer already in list???");
|
||||
*mNewChildLayers.AppendElement() = layer.forget();
|
||||
|
Loading…
Reference in New Issue
Block a user