layout/reftests/svg/svg-integration/clipPath-html-07.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE html>
     2 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <html xmlns="http://www.w3.org/1999/xhtml">
     7   <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=822014 -->
     8   <head>
     9     <title>Test clip-path on outer-&lt;svg&gt; with border</title>
    10     <style>
    12 html, body {
    13   border: 0; margin: 0;
    14 }
    16     </style>
    17   </head>
    18   <body>
    19     <svg xmlns="http://www.w3.org/2000/svg"
    20          width="200" height="200" clip-path="url(#cp)"
    21          style="border: solid 100px black; margin: 50px;">
    23       <clipPath id="cp">
    24         <path d="M50,50 150,50 150,150 50,150 z"/>
    25       </clipPath>
    27       <rect width="100%" height="100%" fill="yellow"/>
    29     </svg>
    30   </body>
    31 </html>

mercurial