1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/svg-integration/clipPath-html-03.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 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:200px; background:lime;"> 1.12 + <div style="height:200px;"/> 1.13 + <div style="height:200px; background:blue;"/> 1.14 + </div> 1.15 + 1.16 + <svg:svg height="0"> 1.17 + <!-- so that other documents can svg:use this one and force it to 1.18 + load before onload --> 1.19 + <svg:g id="empty" /> 1.20 + <svg:clipPath id="c1"> 1.21 + <svg:rect x="0" y="0" width="100" height="150"/> 1.22 + <svg:rect x="100" y="0" width="100" height="300"/> 1.23 + </svg:clipPath> 1.24 + </svg:svg> 1.25 +</body> 1.26 +</html>