layout/reftests/svg/clipPath-and-shape-rendering-01-ref.svg

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 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=489718 -->
     6 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
     7   <title>Test that shape-rendering hint affects clipping</title>
     8   <desc>
     9     By not setting explict shape-rendering attribute, this test tells browsers to 
    10     apply anti-aliasing to all shape's rendering. And this test checks the hint 
    11     correctly affects clip-path, too.
    12   </desc>
    13   <defs>
    14     <g id="circles">
    15       <circle cx="50" cy="50" r="50" fill="lime"/>
    16       <circle cx="150" cy="50" r="50" fill="lime"/>
    17     </g>
    18   </defs>
    20   <use xlink:href="#circles"/>
    21 </svg>

mercurial