Bug 1523776 - Add a reftest. r=kvark

This commit is contained in:
Kartikaya Gupta 2019-02-06 05:46:54 -05:00
parent 5e71f04dec
commit dada54ee16
3 changed files with 26 additions and 0 deletions

View 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>

View 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>

View File

@ -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