layout/reftests/svg/svg-integration/clipPath-html-06-extref.xhtml

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

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 <head>
     9 <style>
    10 .unit { display:inline-block; width:100px; height:10px; }
    11 </style>
    12 </head>
    13 <body style="margin:0">
    14   <span style="clip-path: url(clipPath-html-06.xhtml#c1);">
    15     <span class="unit" style="background:lime;"></span>
    16     <div style="height:200px; width:100px;"/>
    17     <span class="unit" style="background:lime;"></span>
    18   </span>
    19   <svg:svg height="0" style="display: block">
    20     <!-- use an empty g to force clipPath-html-06.xhtml to load before onload -->
    21     <svg:use xlink:href="clipPath-html-06.xhtml#empty" />
    22   </svg:svg>
    23 </body>
    24 </html>

mercurial