layout/reftests/svg/filter-extref-differentOrigin-01.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/filter-extref-differentOrigin-01.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     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 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     1.9 +     xmlns:xlink="http://www.w3.org/1999/xlink">
    1.10 +
    1.11 +  <!-- In case we actually _can_ access the external resource (e.g. on Android
    1.12 +       where reftests are served as http:// instead of file://), we include
    1.13 +       this <use> element to be sure the resource loads before onload so that
    1.14 +       we'll fail reliably. -->
    1.15 +  <use xlink:href="../filters.svg#empty" />
    1.16 +
    1.17 +  <!-- giant lime rect, to match pass.svg -->
    1.18 +  <rect height="100%" width="100%" fill="lime" />
    1.19 +
    1.20 +  <!-- The filter shouldn't resolve, so this should be transparent: -->
    1.21 +  <rect height="100%" width="100%" fill="red"
    1.22 +        filter="url(../filters.svg#NonWhiteToBlack)"/>
    1.23 +</svg>

mercurial