mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Adding test for bug 421632. r=bzbarsky
This commit is contained in:
parent
408d89bc73
commit
6e351832f2
54
layout/reftests/bugs/421632-1-ref.html
Normal file
54
layout/reftests/bugs/421632-1-ref.html
Normal file
@ -0,0 +1,54 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title></title>
|
||||
|
||||
<style>
|
||||
|
||||
body {
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
tr {
|
||||
background: gray;
|
||||
}
|
||||
|
||||
.t2 tr {
|
||||
outline: 1px solid gray;
|
||||
-moz-outline-radius: .3em;
|
||||
}
|
||||
|
||||
.t1 tr {
|
||||
outline: 1px solid red;
|
||||
-moz-outline-radius: .3em;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table id="table1" class="t1">
|
||||
<tr><td>AAAA</td></tr>
|
||||
<tr><td>AAAA</td></tr>
|
||||
|
||||
<tr><td>AAAA</td></tr>
|
||||
<tr><td>AAAA</td></tr>
|
||||
</table>
|
||||
|
||||
<table class="t2">
|
||||
<tr><td>AAAA</td></tr>
|
||||
<tr><td>AAAA</td></tr>
|
||||
<tr><td>AAAA</td></tr>
|
||||
|
||||
<tr><td>AAAA</td></tr>
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
<form method="get" action="#">
|
||||
<input type="button" onclick="showBug(); return false;" value="Trigger bug"/>
|
||||
</form>
|
||||
|
||||
</body> </html>
|
68
layout/reftests/bugs/421632-1.html
Normal file
68
layout/reftests/bugs/421632-1.html
Normal file
@ -0,0 +1,68 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html class="reftest-wait">
|
||||
|
||||
<head>
|
||||
<title></title>
|
||||
|
||||
<style>
|
||||
|
||||
body {
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
tr {
|
||||
background: gray;
|
||||
}
|
||||
|
||||
.t2 tr {
|
||||
outline: 1px solid gray;
|
||||
-moz-outline-radius: .3em;
|
||||
}
|
||||
|
||||
.t1 tr {
|
||||
outline: 1px solid red;
|
||||
-moz-outline-radius: .3em;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function showBug() {
|
||||
document.getElementById("table1").setAttribute("class", "t1");
|
||||
}
|
||||
|
||||
window.addEventListener("MozReftestInvalidate",
|
||||
function() {
|
||||
showBug();
|
||||
document.documentElement.className = "";
|
||||
}, false);
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table id="table1">
|
||||
<tr><td>AAAA</td></tr>
|
||||
<tr><td>AAAA</td></tr>
|
||||
|
||||
<tr><td>AAAA</td></tr>
|
||||
<tr><td>AAAA</td></tr>
|
||||
</table>
|
||||
|
||||
<table class="t2">
|
||||
<tr><td>AAAA</td></tr>
|
||||
<tr><td>AAAA</td></tr>
|
||||
<tr><td>AAAA</td></tr>
|
||||
|
||||
<tr><td>AAAA</td></tr>
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
<form method="get" action="#">
|
||||
<input type="button" onclick="showBug(); return false;" value="Trigger bug"/>
|
||||
</form>
|
||||
|
||||
</body> </html>
|
@ -921,6 +921,7 @@ skip-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 413292-1.html 413292-1-ref.html # disabl
|
||||
== 421419-1.html 421419-1-ref.html
|
||||
== 421436-1a.html 421436-1-ref.html
|
||||
== 421436-1b.html 421436-1-ref.html
|
||||
== 421632-1.html 421632-1-ref.html
|
||||
!= 421710-1.html about:blank # assertion test (and crash test)
|
||||
== 421885-1.xml 421885-1-ref.xml
|
||||
== 421955-1.html 421955-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user