Fri, 16 Jan 2015 18:13:44 +0100
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 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
6 xmlns:xlink="http://www.w3.org/1999/xlink">
8 <title>Testcase for checking that filter bounds include stroke width</title>
10 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=647687 -->
12 <defs>
13 <filter id="f1" filterUnits="objectBoundingBox">
14 <feFlood flood-color="red"/>
15 </filter>
16 </defs>
18 <rect height="100%" width="100%" fill="lime"/>
20 <polygon points="200,200 300,200 300,300 200,300" stroke-width="100"
21 fill="none" stroke="lime" filter="url(#f1)"/>
23 <rect x="150" y="150" height="200" width="200" fill="lime"/>
25 </svg>