Bug 1436189 - Part 1: Add testcase. r=miko

--HG--
extra : source : ee3062043923076fceffbb61f85acc6d10339605
This commit is contained in:
Matt Woodrow 2018-02-09 11:47:08 +13:00
parent 745b1a42db
commit 284526cffc
3 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<body>
<div style="opacity:0.5" id="hi">
<div style="position:fixed; width:200px; height:200px; background-color:blue"></div>
</div>
</body>
</html>

View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en" class="reftest-wait">
<body>
<div style="opacity:0.5" id="hi">
<div style="position:fixed; width:200px; height:200px; background-color:blue"></div>
</div>
<script>
function doTest()
{
var opacityElement = document.getElementById("hi");
opacityElement.style.left = '100px';
document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>

View File

@ -15,9 +15,10 @@ fuzzy(1,235200) == 1413073.html 1413073-ref.html
== 1417601-1.html 1417601-1-ref.html
== 1418945-1.html 1418945-1-ref.html
skip-if(Android) == 1428993-1.html 1428993-1-ref.html
== 1420480-1.html 1420480-1-ref.html
== 1428993-2.html 1428993-2-ref.html
needs-focus == 1429027-1.html 1429027-1-ref.html
== 1432553-1.html 1432553-1-ref.html
== 1432553-2.html 1432553-2-ref.html
== 1420480-1.html 1420480-1-ref.html
== 1436189-1.html 1436189-1-ref.html