mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add reftest for bug 830299.
This commit is contained in:
parent
f4b6720f8f
commit
03d41f69d4
34
layout/reftests/transform/830299-1-ref.html
Normal file
34
layout/reftests/transform/830299-1-ref.html
Normal file
@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<title>Testcase, bug 830299</title>
|
||||
<meta charset=UTF-8>
|
||||
<style type="text/css">
|
||||
|
||||
html { margin: 1px; padding: 2px }
|
||||
body { margin: 4px; padding: 8px }
|
||||
|
||||
#outer {
|
||||
position: absolute;
|
||||
top: 3px; left: 5px;
|
||||
width: 200px; height: 200px;
|
||||
background: yellow;
|
||||
}
|
||||
|
||||
#inner {
|
||||
position: absolute;
|
||||
top: 7px; left: 9px;
|
||||
width: 100px; height: 100px;
|
||||
background: aqua;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="outer">
|
||||
<div id="inner">inner</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
46
layout/reftests/transform/830299-1.html
Normal file
46
layout/reftests/transform/830299-1.html
Normal file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US" class="reftest-wait">
|
||||
<head>
|
||||
<title>Testcase, bug 830299</title>
|
||||
<meta charset=UTF-8>
|
||||
<style type="text/css">
|
||||
|
||||
html { margin: 1px; padding: 2px }
|
||||
body { margin: 4px; padding: 8px }
|
||||
|
||||
#outer {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
transform: translateX(0px);
|
||||
top: 3px; left: 5px;
|
||||
width: 200px; height: 200px;
|
||||
background: yellow;
|
||||
}
|
||||
|
||||
#inner {
|
||||
position: fixed;
|
||||
top: 7px; left: 9px;
|
||||
width: 100px; height: 100px;
|
||||
background: aqua;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
window.addEventListener("load", function(event) {
|
||||
setTimeout(function() {
|
||||
document.getElementById("inner").style.display = "";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}, 100);
|
||||
}, false);
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="outer">
|
||||
<div id="inner" style="display:none">inner</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -115,6 +115,7 @@ skip-if(B2G) fails-if(Android) fuzzy-if(cocoaWidget,1,2) == stresstest-1.html st
|
||||
# Bugs
|
||||
== 601894-1.html 601894-ref.html
|
||||
== 601894-2.html 601894-ref.html
|
||||
fails asserts(1) == 830299-1.html 830299-1-ref.html
|
||||
# Bug 722777
|
||||
== table-1a.html table-1-ref.html
|
||||
== table-1b.html table-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user