Bug 1151145 - Add a reftest. r=jrmuizel

This commit is contained in:
Markus Stange 2015-04-04 18:07:53 -04:00
parent 1b94668974
commit f27e3bcd99
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<title>Reference for test for bug 1151145</title>
<div style="height: 300px"></div>
<div style="width: 33em; border: solid white; transform: translate(100px) rotate(20deg);"></div>
<div style="height: 1000px"></div>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en" class="reftest-wait">
<title>Test for bug 1151145</title>
<div style="height: 300px"></div>
<div style="width: 33em; border: solid white; transform: translate(100px) rotate(20deg);"></div>
<div style="height: 1000px"></div>
<script>
function doTest() {
document.documentElement.scrollTop = 0;
document.documentElement.removeAttribute("class");
}
document.documentElement.scrollTop = 255;
window.addEventListener("MozReftestInvalidate", doTest);
</script>

View File

@ -1871,4 +1871,5 @@ skip-if(Mulet) == 1120431-2.html 1120431-2-ref.html # TC: Bug 1144079 - Re-enabl
== 1128354-1.html 1128354-1-ref.html
== 1130231-1-button-padding-rtl.html 1130231-1-button-padding-rtl-ref.html
== 1130231-2-button-padding-rtl.html 1130231-2-button-padding-rtl-ref.html
== 1151145-1.html 1151145-1-ref.html
== 1151306-1.html 1151306-1-ref.html