mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Backed out changeset 774fb7eed629 (bug 1662062) for Build bustages in StackingContextHelper.cpp. CLOSED TREE
This commit is contained in:
parent
ed03b3550e
commit
4a5d64446f
@ -61,19 +61,6 @@ StackingContextHelper::StackingContextHelper(
|
||||
transform2d * aParentSC.mSnappingSurfaceTransform;
|
||||
}
|
||||
|
||||
} else if (aParams.reference_frame_kind == wr::WrReferenceFrameKind::Zoom &&
|
||||
aContainerItem &&
|
||||
aContainerItem->GetType() == DisplayItemType::TYPE_ASYNC_ZOOM &&
|
||||
aContainerItem->Frame()) {
|
||||
double resolution = aContainerItem->Frame()->PresShell()->GetResolution();
|
||||
gfx::Matrix transform = gfx::Matrix::Scaling(resolution, resolution);
|
||||
|
||||
mInheritedTransform = transform * aParentSC.mInheritedTransform;
|
||||
mScale = resolution * aParentSC.mScale;
|
||||
|
||||
MOZ_ASSERT(!aParams.mAnimated);
|
||||
mSnappingSurfaceTransform = transform * aParentSC.mSnappingSurfaceTransform;
|
||||
|
||||
} else {
|
||||
mInheritedTransform = aParentSC.mInheritedTransform;
|
||||
mScale = aParentSC.mScale;
|
||||
|
@ -1,20 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html reftest-resolution="5.0">
|
||||
<head>
|
||||
<style>
|
||||
html {
|
||||
scrollbar-width: none;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<svg height="100" width="100">
|
||||
<polygon points="50 10 55 20 70 20 60 30 65 45 50 35 35 45 40 30 30 20 45 20" stroke="green" fill="transparent" stroke-width="5"/>
|
||||
</svg>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,20 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html {
|
||||
scrollbar-width: none;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<svg height="500" width="500">
|
||||
<polygon points="250 50 275 100 350 100 300 150 325 225 250 175 175 225 200 150 150 100 225 100" stroke="green" fill="transparent" stroke-width="25"/>
|
||||
</svg>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -25,4 +25,3 @@ fuzzy-if(webrender,2-7,17500-36908) == 1523776.html 1523776-ref.html
|
||||
== 1523080.html 1523080-ref.html
|
||||
== 1616444-same-color-different-paths.html 1616444-same-color-different-paths-ref.html
|
||||
skip-if(!asyncPan||!webrender||Android) fuzzy-if(winWidget,94-94,3415-3415) pref(apz.allow_zooming,true) == picture-caching-on-async-zoom.html picture-caching-on-async-zoom.html?ref
|
||||
pref(apz.allow_zooming,true) == 1662062-1-no-blurry.html 1662062-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user