mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Backed out changeset 6b528bd3294c (bug 1039926) for R20 test failures on a CLOSED TREE
This commit is contained in:
parent
0a587c5cdd
commit
bbf229d607
@ -1,55 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>Moving a layer in a box with a rounded clip shouldn't invalidate.</title>
|
||||
|
||||
<style>
|
||||
|
||||
#outer {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 50px;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
background-color: #DDD;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#animatedLeft {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 40px;
|
||||
box-model: border-box;
|
||||
border: 1px solid lime;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="outer" reftest-assigned-layer="rounded-clip">
|
||||
<div id="animatedLeft" class="reftest-no-paint" reftest-assigned-layer="animated-left"></div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
var animatedLeft = document.getElementById("animatedLeft");
|
||||
|
||||
function doTest() {
|
||||
animatedLeft.style.left = "100px";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
// Layerize #animatedLeft
|
||||
animatedLeft.offsetLeft;
|
||||
animatedLeft.style.left = "60px";
|
||||
animatedLeft.offsetLeft;
|
||||
animatedLeft.style.left = "40px";
|
||||
animatedLeft.offsetLeft;
|
||||
|
||||
document.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
|
||||
</script>
|
@ -1,59 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>Moving a layer in a box with a rounded clip shouldn't invalidate.</title>
|
||||
|
||||
<style>
|
||||
|
||||
#scrollbox {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 50px;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
background-color: #DDD;
|
||||
overflow: auto;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#scrollable {
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
#scrolledLayer {
|
||||
margin-top: 50px;
|
||||
margin-left: 100px;
|
||||
box-model: border-box;
|
||||
border: 1px solid lime;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="scrollbox" reftest-assigned-layer="rounded-clip">
|
||||
<div id="scrollable">
|
||||
<div id="scrolledLayer" class="reftest-no-paint" reftest-assigned-layer="animated-left"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
var scrollbox = document.getElementById("scrollbox");
|
||||
|
||||
function doTest() {
|
||||
scrollbox.scrollLeft = 0;
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
// Make #scrollbox have active scrolling
|
||||
scrollbox.scrollLeft = 60;
|
||||
scrollbox.offsetLeft;
|
||||
scrollbox.scrollLeft = 40;
|
||||
scrollbox.offsetLeft;
|
||||
|
||||
document.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
|
||||
</script>
|
@ -55,5 +55,3 @@ pref(layout.animated-image-layers.enabled,true) == test-animated-image-layers-ba
|
||||
!= paintedlayer-recycling-5.html about:blank
|
||||
!= paintedlayer-recycling-6.html about:blank
|
||||
!= paintedlayer-recycling-7.html about:blank
|
||||
!= masklayer-1.html about:blank
|
||||
!= masklayer-2.html about:blank
|
||||
|
Loading…
x
Reference in New Issue
Block a user