layout/reftests/svg/svg-integration/clipPath-html-01.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/svg-integration/clipPath-html-01.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     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 +<html xmlns="http://www.w3.org/1999/xhtml"
     1.9 +      xmlns:svg="http://www.w3.org/2000/svg">
    1.10 +<body style="margin:0">
    1.11 +  <div style="clip-path: url(#c1); width:500px; height:500px; background:lime;"></div>
    1.12 +  <svg:svg height="0">
    1.13 +    <!-- so that other documents can svg:use this one and force it to
    1.14 +         load before onload -->
    1.15 +    <svg:g id="empty" />
    1.16 +    <svg:clipPath id="c1" clipPathUnits="objectBoundingBox">
    1.17 +      <svg:rect x="0.5" y="0" width="0.5" height="1"/>
    1.18 +    </svg:clipPath>
    1.19 +  </svg:svg>
    1.20 +</body>
    1.21 +</html>

mercurial