Bug 959674 - Add reftests. r=roc

This commit is contained in:
Horia Iosif Olaru 2014-01-14 23:02:56 +02:00
parent 67a4b6100d
commit d457045f4b
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<style>
.reftest {
width: 200px;
height: 200px;
background-color: rgb(0,0,0);
}
</style>
<div class="reftest"></div>
</html>

View File

@ -0,0 +1,26 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<style>
.reftest {
width: 200px;
height: 200px;
background-size: 100px 100px, 200px 200px;
background-repeat: repeat; /* set this explicitly for the test clarity */
}
.blend {
background-color: rgb(0,255,0);
background-blend-mode: difference;
}
.jpg {
background-image: url(as-image/green100x100.jpg);
}
</style>
<div class="reftest blend jpg"></div>
</html>

View File

@ -34,3 +34,5 @@ fuzzy-if(azureSkia||gtk2Widget,1,1600) pref(layout.css.background-blend-mode.ena
fuzzy-if(d2d,1,1600) fuzzy-if(azureSkia||gtk2Widget,2,12800) fuzzy-if(OSX==10.6,1,1600) pref(layout.css.background-blend-mode.enabled,true) == background-blending-saturation.html background-blending-saturation-ref.svg
fuzzy-if(d2d||azureSkia||gtk2Widget,1,1600) pref(layout.css.background-blend-mode.enabled,true) == background-blending-screen.html background-blending-screen-ref.svg
fuzzy-if(azureQuartz,1,1600) fuzzy-if(d2d||azureSkia||gtk2Widget,10,4800) pref(layout.css.background-blend-mode.enabled,true) == background-blending-soft-light.html background-blending-soft-light-ref.svg
fuzzy-if(azureQuartz,2,40000) fuzzy-if(azureSkia||d2d||gtk2Widget,1,40000) pref(layout.css.background-blend-mode.enabled,true) == background-blending-image-color-959674.html background-blending-image-color-959674-ref.html