зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1477693
- Part 4: Add a reftest r=mattwoodrow
MozReview-Commit-ID: 3xGRchvAKeC --HG-- extra : rebase_source : 1543f92e3b123c1316183c961dcc40121db779cb
This commit is contained in:
Родитель
536d27c7f5
Коммит
7bd6d0d2a6
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<style type="text/css">
|
||||
#green {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 208px;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-color: green;
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="green"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<style type="text/css">
|
||||
#parent {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
#box {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-color: red;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#green {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 208px;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background-color: green;
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
|
||||
<div id="parent">
|
||||
<div id="box"></div>
|
||||
</div>
|
||||
<div id="green"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
var element = document.getElementById("parent");
|
||||
element.style.transform = "translate(200px, 0px)";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
window.addEventListener("MozReftestInvalidate", doTest);
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -145,3 +145,4 @@ fuzzy-if(d2d,1,5) fuzzy-if(skiaContent,26,208) == table-overflowed-by-animation.
|
|||
== translate-rounding-1.html translate-rounding-ref.html
|
||||
== translate-rounding-2.html translate-rounding-ref.html
|
||||
fails == translate-rounding-3.html translate-rounding-viewport-ref.html # bug 1397146
|
||||
== invalidate-transform-1.html invalidate-transform-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче