зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1239564 - Add reftest for mask layer composition. r=roc
This commit is contained in:
Родитель
47aa0a5855
Коммит
706c70f0da
|
@ -0,0 +1,21 @@
|
|||
<html><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Testcase for bug 1239564</title>
|
||||
<style>
|
||||
#circle {
|
||||
border-radius: 300px;
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
background-color: red;
|
||||
margin: auto;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top:0;
|
||||
bottom: 0;
|
||||
transform: scale(3);
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="circle"></div>
|
||||
</body></html>
|
|
@ -0,0 +1,29 @@
|
|||
<html class="reftest-wait"><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Testcase for bug 1239564</title>
|
||||
<style>
|
||||
#circle {
|
||||
border-radius: 300px;
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
background-color: red;
|
||||
margin: auto;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top:0;
|
||||
bottom: 0;
|
||||
will-change: transform;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="circle"></div>
|
||||
<script>
|
||||
var c = document.getElementById('circle');
|
||||
function doTest() {
|
||||
c.style.transform = "translateZ(1px) scale(3)";
|
||||
document.documentElement.removeAttribute('class');
|
||||
}
|
||||
document.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
</script>
|
||||
</body></html>
|
|
@ -1944,3 +1944,4 @@ fuzzy(1,74) fuzzy-if(gtkWidget,6,79) == 1174332-1.html 1174332-1-ref.html
|
|||
== 1222226-1.html 1222226-1-ref.html
|
||||
pref(layout.css.overflow-clip-box.enabled,true) == 1226278.html 1226278-ref.html
|
||||
== 1230466.html about:blank
|
||||
fuzzy(100,2000) == 1239564.html 1239564-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче