1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/clipPath-and-shape-rendering-01.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=489718 --> 1.9 +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 1.10 + <title>Test that shape-rendering hint affects clipping</title> 1.11 + <desc> 1.12 + By not setting explict shape-rendering attribute, this test tells browsers to 1.13 + apply anti-aliasing to all shape's rendering. And this test checks the hint 1.14 + correctly affects clip-path, too. 1.15 + </desc> 1.16 + <defs> 1.17 + <circle id="circle1" cx="50" cy="50" r="50" fill="lime"/> 1.18 + <circle id="circle2" cx="150" cy="50" r="50" fill="lime"/> 1.19 + <clipPath id="clip"> 1.20 + <use xlink:href="#circle1"/> 1.21 + <use xlink:href="#circle2"/> 1.22 + </clipPath> 1.23 + </defs> 1.24 + 1.25 + <rect width="200" height="100" fill="lime" clip-path="url(#clip)"/> 1.26 +</svg> 1.27 +