|
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 <circle id="circle1" cx="50" cy="50" r="50" fill="lime"/> |
|
15 <circle id="circle2" cx="150" cy="50" r="50" fill="lime"/> |
|
16 <clipPath id="clip"> |
|
17 <use xlink:href="#circle1"/> |
|
18 <use xlink:href="#circle2"/> |
|
19 </clipPath> |
|
20 </defs> |
|
21 |
|
22 <rect width="200" height="100" fill="lime" clip-path="url(#clip)"/> |
|
23 </svg> |
|
24 |