зеркало из https://github.com/mozilla/pjs.git
Add invalidate reftest for bug 237766. r=dbaron
This commit is contained in:
Родитель
075604f5ed
Коммит
fcb10f64fe
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
#test {position: absolute; right: 0; padding-left: 16px; background:
|
||||
url(blue-16x20.png) bottom left no-repeat}
|
||||
b {display: none}
|
||||
span {padding: 0 7.2px}
|
||||
#test1 {border-bottom-width: 1px;}
|
||||
</style>
|
||||
|
||||
</head><body>
|
||||
<div id="test">
|
||||
<span id="test1">test1</span><b>|</b><span>test2</span>
|
||||
</div>
|
||||
</body></html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
#test {position: absolute; right: 0; padding-left: 16px; background:
|
||||
url(blue-16x20.png) bottom left no-repeat}
|
||||
b {display: none}
|
||||
span {padding: 0 7.2px}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
// see https://bugzilla.mozilla.org/show_bug.cgi?id=237766
|
||||
|
||||
window.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
// in order to reproduce this bug on the original build, which
|
||||
// doesn't support MozReftestInvalidate
|
||||
setTimeout(doTest, 5000);
|
||||
|
||||
function doTest() {
|
||||
document.getElementById("test1").style.borderBottomWidth = "1px";
|
||||
document.documentElement.className = "";
|
||||
}
|
||||
</script>
|
||||
|
||||
</head><body>
|
||||
<div id="test">
|
||||
<span id="test1">test1</span><b>|</b><span>test2</span>
|
||||
</div>
|
||||
</body></html>
|
|
@ -24,6 +24,7 @@
|
|||
== continuous-inline-4b.html continuous-inline-4-ref.html
|
||||
== continuous-inline-5a.html continuous-inline-5-ref.html
|
||||
== continuous-inline-5b.html continuous-inline-5-ref.html
|
||||
== background-redraw-237766.html background-redraw-237766-ref.html
|
||||
|
||||
== background-size-auto-auto.html background-size-auto-ref.html
|
||||
== background-size-auto.html background-size-auto-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче