mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1523776 - Add a reftest. r=kvark
This commit is contained in:
parent
5e71f04dec
commit
dada54ee16
13
gfx/tests/reftest/1523776-ref.html
Normal file
13
gfx/tests/reftest/1523776-ref.html
Normal file
@ -0,0 +1,13 @@
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<div style="filter: drop-shadow(50px 50px 20px red)">
|
||||
<div style="width:256px; height:256px; border-radius:16px; overflow:hidden">
|
||||
<div style="width:256px; height:256px; background-color:green;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- add white divs on top to simulate the clip from the test file -->
|
||||
<div style="background-color: white; position:absolute; left: 0; top: 0; width: 100px; height: 700px"></div>
|
||||
<div style="background-color: white; position:absolute; left: 0; top: 0; width: 700px; height: 100px"></div>
|
12
gfx/tests/reftest/1523776.html
Normal file
12
gfx/tests/reftest/1523776.html
Normal file
@ -0,0 +1,12 @@
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<div style="clip: rect(100px,1000px,1000px,100px); position:absolute">
|
||||
<div style="filter: drop-shadow(50px 50px 20px red)">
|
||||
<div style="width:256px; height:256px; border-radius:16px; overflow:hidden">
|
||||
<div style="width:256px; height:256px; background-color:green;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -20,3 +20,4 @@ fuzzy(0-11,0-4) == 1474722.html 1474722-ref.html
|
||||
== 1519754.html 1519754-ref.html
|
||||
skip-if(!asyncPan) == 1524261.html 1524261-ref.html
|
||||
fuzzy-if(webrender,14-14,44-44) == 1524353.html 1524353-ref.html
|
||||
fuzzy-if(webrender,6-7,34741-36908) == 1523776.html 1523776-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user