layout/reftests/svg/svg-integration/clipPath-html-04.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-04.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     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 +     xmlns:xlink="http://www.w3.org/1999/xlink">
    1.11 +<head>
    1.12 +<style>
    1.13 +.unit { display:inline-block; width:100px; height:1px; }
    1.14 +</style>
    1.15 +</head>
    1.16 +<body style="margin:0; width:350px; line-height:100px;">
    1.17 +  <span class="unit"/><span class="unit"
    1.18 +  /><span style="clip-path:url(#c1); background:lime;"><span class="unit"/><span class="unit"
    1.19 +  /></span>
    1.20 +
    1.21 +  <svg:svg height="0">
    1.22 +    <!-- so that other documents can svg:use this one and force it to
    1.23 +         load before onload -->
    1.24 +    <svg:g id="empty" />
    1.25 +    <svg:clipPath id="c1">
    1.26 +      <svg:rect x="50" y="0" width="200" height="200"/>
    1.27 +    </svg:clipPath>
    1.28 +  </svg:svg>
    1.29 +</body>
    1.30 +</html>

mercurial