mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
81c123981e
commit
c30e5e7d7a
13
layout/reftests/bugs/1149304-1-transform-change-ref.html
Normal file
13
layout/reftests/bugs/1149304-1-transform-change-ref.html
Normal 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> </span> </p>
|
||||
</body>
|
||||
</html>
|
23
layout/reftests/bugs/1149304-1-transform-change.html
Normal file
23
layout/reftests/bugs/1149304-1-transform-change.html
Normal 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> </span> </p>
|
||||
</body>
|
||||
</html>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user