Bug 1149923 - Add reftest to testify whether mask layer is rendered correctly. r=roc

This commit is contained in:
Jeremy Chen 2015-08-31 20:35:00 -04:00
parent 866bb24e7e
commit 68a1353ed5
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<meta charset="utf-8">
<title>Testcase for bug 1149923</title>
<style>
#outer {
width: 64px;
height: 64px;
background-color: #00f;
opacity: 1.0;
transform: rotate(90deg);
}
#inner {
width: 100%;
height: 100%;
background-color: #f00;
border-top-left-radius: 10%;
border-bottom-left-radius: 10%;
}
</style>
</head>
<body>
<div id='outer'><div id='inner'></div></div>
</body>
</html>

View File

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<meta charset="utf-8">
<title>Testcase for bug 1149923</title>
<style>
#outer {
width: 64px;
height: 64px;
background-color: #00f;
opacity: 1.0;
transform: rotate(90deg);
}
#inner {
width: 100%;
height: 100%;
background-color: #f00;
will-change: transform;
border-top-left-radius: 10%;
border-bottom-left-radius: 10%;
}
</style>
</head>
<body>
<div id='outer'><div id='inner'></div></div>
</body>
</html>

View File

@ -5,3 +5,4 @@ skip-if(B2G) fuzzy-if(Android&&AndroidVersion>=15,8,1000) == 709477-1.html 70947
skip-if(!asyncPan) == 1086723.html 1086723-ref.html
== 853889-1.html 853889-1-ref.html
== 1143303-1.svg pass.svg
fuzzy(30,30) == 1149923.html 1149923-ref.html # use fuzzy due to few distorted pixels caused by border-radius