Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <html xmlns="http://www.w3.org/1999/xhtml"
6 xmlns:svg="http://www.w3.org/2000/svg"
7 xmlns:xlink="http://www.w3.org/1999/xlink">
8 <body style="margin:0">
9 <div style="position:absolute; top:0; left:0; clip-path: url(clipPath-html-01.xhtml#c1); width:500px; height:500px; background:lime;"></div>
10 <svg:svg height="0">
11 <!-- use an empty g to force clipPath-html-01.xhtml to load before onload -->
12 <svg:use xlink:href="clipPath-html-01.xhtml#empty" />
13 </svg:svg>
14 </body>
15 </html>