layout/reftests/svg/svg-integration/clipPath-html-08.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.)

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

mercurial