layout/reftests/css-blending/background-blending-image-color-svg-as-data-uri.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-blending/background-blending-image-color-svg-as-data-uri.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<!DOCTYPE HTML>
     1.9 +<html>
    1.10 +<style>
    1.11 +.reftest {
    1.12 +  width: 200px;
    1.13 +  height: 200px;
    1.14 +  background-size: 100px 100px, 200px 200px;
    1.15 +  background-repeat: no-repeat;
    1.16 +}
    1.17 +
    1.18 +.blend {
    1.19 +  background-color: rgb(0,255,0);
    1.20 +  background-blend-mode: difference;
    1.21 +}
    1.22 +
    1.23 +.svg {
    1.24 +  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20version%3D%271.1%27%20viewBox%3D%270%200%20100%20100%27%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20fill%3D%27%2300FF00%27%2F%3E%3C%2Fsvg%3E");
    1.25 +}
    1.26 +
    1.27 +</style>
    1.28 +<div class="reftest blend svg"></div>
    1.29 +</html>

mercurial