layout/reftests/reftest-sanity/filter-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/reftest-sanity/filter-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<svg xmlns="http://www.w3.org/2000/svg"
     1.6 +     xmlns:xlink="http://www.w3.org/1999/xlink"
     1.7 +     version="1.1">
     1.8 +
     1.9 +  <!-- use an empty g to force filters.svg to load before onload -->
    1.10 +  <use xlink:href="../filters.svg#empty" />
    1.11 +
    1.12 +  <foreignObject filter="url(../filters.svg#NonWhiteToBlack)"
    1.13 +                 x="0" y="0" height="100%" width="100%">
    1.14 +    <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
    1.15 +    <head>
    1.16 +      <title>Filter sanity-check</title>
    1.17 +      <style type="text/css">
    1.18 +      html, body { margin: 0; background: white; color: black; height: 100%; width: 100%; }
    1.19 +      body { position: relative; }
    1.20 +      </style>
    1.21 +    </head>
    1.22 +    <body>
    1.23 +
    1.24 +    <div style="position: absolute; top: 10px; left: 10px; width: 100px; height: 10px; background: green"></div>
    1.25 +
    1.26 +    <div style="position: absolute; top: 30px; left: 10px; width: 94px; height: 4px; border: 3px solid #c90;"></div>
    1.27 +
    1.28 +    <div style="position: absolute; top: 50px; left: 10px; width: 100px; height: 10px; background: black"></div>
    1.29 +
    1.30 +    <div style="position: absolute; top: 70px; left: 10px; width: 94px; height: 4px; border: 3px solid #000;"></div>
    1.31 +
    1.32 +    </body>
    1.33 +    </html>
    1.34 +  </foreignObject>
    1.35 +</svg>

mercurial