Bug 1178575 - tests.

This commit is contained in:
Mats Palmgren 2015-08-07 14:05:48 +02:00
parent 5a0dd61b96
commit a4131836eb
5 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<title>Testcase #2 for bug 1178575</title>
<style type="text/css">
html,body {
color:black; background-color:white; font-size:16px; padding:0; margin:20px;
}
div {
position: absolute;
left: 0;
right: 0;
box-shadow: 0 0 0 10px rgba(0, 255, 0, 0.5);
margin-top: 10px;
height: 40px;
}
span {
position: relative;
display: block;
overflow: hidden;
height: 100px;
}
</style>
</head>
<body><span><div></div><span></body></html>

View File

@ -0,0 +1,35 @@
<!DOCTYPE HTML>
<html class="reftest-wait"><head>
<meta charset="utf-8">
<title>Testcase #2 for bug 1178575</title>
<style type="text/css">
html,body {
color:black; background-color:white; font-size:16px; padding:0; margin:20px;
}
div {
position: absolute;
left: 0;
right: 0;
box-shadow: 0 0 0 10px rgba(0, 255, 0, 0.5);
margin-top: 10px;
}
span {
position: relative;
display: block;
overflow: hidden;
height: 200px;
}
</style>
<script>
function tweak() {
document.querySelector('div').style.height = "40px";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", tweak, false);
</script>
</head>
<body><span><div></div><span></body></html>

View File

@ -0,0 +1,22 @@
<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<title>Testcase for bug 1178575</title>
<style type="text/css">
html,body {
color:black; background-color:white; font-size:16px; padding:0; margin:0;
}
div {
position: absolute;
left: 0;
right: 0;
box-shadow: 0 0 0 10px rgba(0, 255, 0, 0.5);
margin-top: 10px;
height: 3em;
}
</style>
</head>
<body><div></div></body></html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE HTML>
<html class="reftest-wait"><head>
<meta charset="utf-8">
<title>Testcase for bug 1178575</title>
<style type="text/css">
html,body {
color:black; background-color:white; font-size:16px; padding:0; margin:0;
}
div {
position: absolute;
left: 0;
right: 0;
box-shadow: 0 0 0 10px rgba(0, 255, 0, 0.5);
margin-top: 10px;
}
</style>
<script>
function tweak() {
document.querySelector('div').style.height = "3em";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", tweak, false);
</script>
</head>
<body><div></div></body></html>

View File

@ -29,3 +29,5 @@ fails-if(B2G||Mulet) == 611574-1.html 611574-1-ref.html # Initial mulet triage:
fails-if(B2G||Mulet) == 611574-2.html 611574-2-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
fuzzy-if(winWidget,5,30) == fieldset.html fieldset-ref.html # minor anti-aliasing problem on Windows
fuzzy-if(winWidget,5,30) == fieldset-inset.html fieldset-inset-ref.html # minor anti-aliasing problem on Windows
== 1178575.html 1178575-ref.html
== 1178575-2.html 1178575-2-ref.html