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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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