mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1149923 - Add reftest to testify whether mask layer is rendered correctly. r=roc
This commit is contained in:
parent
866bb24e7e
commit
68a1353ed5
28
gfx/tests/reftest/1149923-ref.html
Normal file
28
gfx/tests/reftest/1149923-ref.html
Normal 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>
|
29
gfx/tests/reftest/1149923.html
Normal file
29
gfx/tests/reftest/1149923.html
Normal 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>
|
@ -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
|
Loading…
Reference in New Issue
Block a user