mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1151145 - Add a reftest. r=jrmuizel
This commit is contained in:
parent
1b94668974
commit
f27e3bcd99
10
layout/reftests/bugs/1151145-1-ref.html
Normal file
10
layout/reftests/bugs/1151145-1-ref.html
Normal 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>
|
||||
|
21
layout/reftests/bugs/1151145-1.html
Normal file
21
layout/reftests/bugs/1151145-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user