layout/reftests/svg/svg-integration/clipPath-html-06-extref.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-06-extref.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     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:10px; }
    1.14 +</style>
    1.15 +</head>
    1.16 +<body style="margin:0">
    1.17 +  <span style="clip-path: url(clipPath-html-06.xhtml#c1);">
    1.18 +    <span class="unit" style="background:lime;"></span>
    1.19 +    <div style="height:200px; width:100px;"/>
    1.20 +    <span class="unit" style="background:lime;"></span>
    1.21 +  </span>
    1.22 +  <svg:svg height="0" style="display: block">
    1.23 +    <!-- use an empty g to force clipPath-html-06.xhtml to load before onload -->
    1.24 +    <svg:use xlink:href="clipPath-html-06.xhtml#empty" />
    1.25 +  </svg:svg>
    1.26 +</body>
    1.27 +</html>

mercurial