layout/reftests/image-element/element-paint-clippath.html

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 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/licenses/publicdomain/
     5      Test with clip-path.
     6 -->
     7 <!DOCTYPE html>
     8 <html>
     9 <body style="margin:0">
    10   <div style="width:200px; height:200px;
    11               clip-path:url(#c);
    12               background:-moz-element(#d);"></div>
    14   <div style="overflow:hidden; height:0;">
    15     <div id="d" style="width:200px; height:200px; background:lime;"></div>
    16   </div>
    17   <svg height="0">
    18     <clipPath id="c" clipPathUnits="userSpaceOnUse">
    19       <rect x="50" y="50" width="50" height="50"></rect>
    20     </clipPath>
    21   </svg>
    22 </body>
    23 </html>

mercurial