Backed out changeset 774fb7eed629 (bug 1662062) for Build bustages in StackingContextHelper.cpp. CLOSED TREE

This commit is contained in:
Dorel Luca 2020-11-28 11:13:29 +02:00
parent ed03b3550e
commit 4a5d64446f
4 changed files with 0 additions and 54 deletions

View File

@ -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;

View File

@ -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>

View File

@ -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>

View File

@ -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