1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/svg-integration/clipPath-html-06.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 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(#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 + 1.23 + <svg:svg height="0" style="display: block"> 1.24 + <!-- so that other documents can svg:use this one and force it to 1.25 + load before onload --> 1.26 + <svg:g id="empty" /> 1.27 + <svg:clipPath id="c1" clipPathUnits="objectBoundingBox"> 1.28 + <svg:rect x="0" y="0.5" width="0.5" height="0.5"/> 1.29 + </svg:clipPath> 1.30 + </svg:svg> 1.31 +</body> 1.32 +</html>