mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
118a58666e
commit
2d939aaa56
27
gfx/tests/reftest/1086723-ref.html
Normal file
27
gfx/tests/reftest/1086723-ref.html
Normal 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>
|
27
gfx/tests/reftest/1086723.html
Normal file
27
gfx/tests/reftest/1086723.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user