Bug 1086723 - Part 2: Test. r=kats

- Reftest added to perform an async scroll and verify that the mask used
  to render the rounded corners of a fixed position element are correctly
  offset.
This commit is contained in:
Kearwood (Kip) Gilbert 2014-11-19 12:39:00 +01:00
parent 118a58666e
commit 2d939aaa56
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Testcase for bug 1086723</title>
<style type="text/css">
.test_div {
position: fixed;
overflow: hidden;
background: blue;
width: 50%;
height: 50%;
border-radius: 0px 50% 50% 0px;
}
.filler {
height: 5000px;
}
body,html {
overflow: hidden;
}
</style>
</head>
<body>
<div class="test_div"></div>
<div class="filler"></div>
</body>
</html>

View File

@ -0,0 +1,27 @@
<!DOCTYPE HTML>
<html reftest-async-scroll reftest-async-scroll-x="0" reftest-async-scroll-y="2000">
<head>
<meta charset="utf-8">
<title>Testcase for bug 1086723</title>
<style type="text/css">
.test_div {
position: fixed;
overflow: hidden;
background: blue;
width: 50%;
height: 50%;
border-radius: 0px 50% 50% 0px;
}
.filler {
height: 5000px;
}
body,html {
overflow: hidden;
}
</style>
</head>
<body>
<div class="test_div"></div>
<div class="filler"></div>
</body>
</html>

View File

@ -2,3 +2,4 @@
== 468496-1.html 468496-1-ref.html
fuzzy-if(winWidget,175,443) == 611498-1.html 611498-ref.html
skip-if(B2G) fuzzy-if(Android&&AndroidVersion>=15,8,1000) == 709477-1.html 709477-1-ref.html # bug 773482
skip-if(!asyncPanZoom) == 1086723.html 1086723-ref.html