Bug 1149304 - Reftest for repaint issues when changing CSS transform (fails on WinXP, OS X, and older Android). r=roc

* * *
Bug 1149304 - Mark test as failing on WinXP, OS X and Android.
This commit is contained in:
Jonathan Kew 2015-04-01 09:02:29 +01:00
parent 81c123981e
commit c30e5e7d7a
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<style>
body { transform:translateY(10px); white-space: pre; }
p { margin: 0; }
span { padding: 2px; color: red; background: blue; }
</style>
</head>
<body><p> <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> &nbsp; &nbsp; </p>
</body>
</html>

View File

@ -0,0 +1,23 @@
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<meta charset="utf-8">
<style>
body { transform:translateY(100px); white-space: pre; }
p { margin: 0; }
span { padding: 2px; color: red; background: blue; }
</style>
<script>
function test(n) {
document.body.style.transform = "translateY(" + n + "px)";
if (n > 10) {
setTimeout("test(" + (n - 10) + ")", 0);
} else {
document.documentElement.removeAttribute("class");
}
}
</script>
</head>
<body onload="test(100)"><p> <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> &nbsp; &nbsp; </p>
</body>
</html>

View File

@ -1871,3 +1871,4 @@ 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
fails-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)||cocoaWidget||(Android&&AndroidVersion<11)) == 1149304-1-transform-change.html 1149304-1-transform-change-ref.html