mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Backed out changeset 97d67e0eaccf (bug 1456111) for reftest failures e.g.: worker/workspace/build/tests/reftest/tests/layout/reftests/svg/image/image-x-01.svg on a CLOSED TREE
This commit is contained in:
parent
f59c972b9c
commit
f20a8bbc78
@ -2315,10 +2315,6 @@ static void ConstrainToCoordValues(gfxFloat& aStart, gfxFloat& aSize)
|
||||
nsRect
|
||||
nsLayoutUtils::RoundGfxRectToAppRect(const Rect &aRect, float aFactor)
|
||||
{
|
||||
if (aRect.IsEmpty()) {
|
||||
return nsRect();
|
||||
}
|
||||
|
||||
/* Get a new Rect whose units are app units by scaling by the specified factor. */
|
||||
Rect scaledRect = aRect;
|
||||
scaledRect.ScaleRoundOut(aFactor);
|
||||
@ -2335,10 +2331,6 @@ nsLayoutUtils::RoundGfxRectToAppRect(const Rect &aRect, float aFactor)
|
||||
nsRect
|
||||
nsLayoutUtils::RoundGfxRectToAppRect(const gfxRect &aRect, float aFactor)
|
||||
{
|
||||
if (aRect.IsEmpty()) {
|
||||
return nsRect();
|
||||
}
|
||||
|
||||
/* Get a new gfxRect whose units are app units by scaling by the specified factor. */
|
||||
gfxRect scaledRect = aRect;
|
||||
scaledRect.ScaleRoundOut(aFactor);
|
||||
@ -3479,7 +3471,6 @@ nsLayoutUtils::PaintFrame(gfxContext* aRenderingContext, nsIFrame* aFrame,
|
||||
AUTO_PROFILER_LABEL("nsLayoutUtils::PaintFrame", GRAPHICS);
|
||||
typedef RetainedDisplayListBuilder::PartialUpdateResult PartialUpdateResult;
|
||||
|
||||
|
||||
#ifdef MOZ_DUMP_PAINTING
|
||||
if (!gPaintCountStack) {
|
||||
gPaintCountStack = new nsTArray<int>();
|
||||
|
@ -1,14 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html reftest-zoom="0.9" class="reftest-wait">
|
||||
<meta charset="utf-8">
|
||||
<body>
|
||||
<div id="transformed" style="width:200px; height:200px; background-color:red; transform:scale(2)"></div>
|
||||
</body>
|
||||
<script>
|
||||
function doTest() {
|
||||
document.getElementById("transformed").style.transform = "scale(0)";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate", doTest);
|
||||
</script>
|
||||
</html>
|
@ -2075,6 +2075,5 @@ fuzzy-if(Android,66,574) fuzzy-if(d2d,89,777) fuzzy-if(!Android&&!d2d,1,31219) =
|
||||
pref(layout.css.moz-document.url-prefix-hack.enabled,true) == 1446470.html 1035091-ref.html
|
||||
pref(layout.css.moz-document.url-prefix-hack.enabled,false) == 1446470-2.html 1035091-ref.html
|
||||
test-pref(layout.css.prefixes.gradients,false) == 1451874.html 1451874-ref.html
|
||||
== 1456111-1.html about:blank
|
||||
fuzzy-if(!(webrender&>kWidget),1-2,17500-17500) == 1412375.html 1412375-ref.html
|
||||
test-pref(layout.css.contain.enabled,false) == 1466008.html 1466008-ref.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user