1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/filter-bounds-02.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 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 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" 1.9 + xmlns:xlink="http://www.w3.org/1999/xlink"> 1.10 + 1.11 + <title>Testcase for checking that filter bounds include stroke width</title> 1.12 + 1.13 + <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=647687 --> 1.14 + 1.15 + <defs> 1.16 + <filter id="f1" filterUnits="objectBoundingBox"> 1.17 + <feFlood flood-color="red"/> 1.18 + </filter> 1.19 + </defs> 1.20 + 1.21 + <rect height="100%" width="100%" fill="lime"/> 1.22 + 1.23 + <polygon points="200,200 300,200 300,300 200,300" stroke-width="100" 1.24 + fill="none" stroke="lime" filter="url(#f1)"/> 1.25 + 1.26 + <rect x="150" y="150" height="200" width="200" fill="lime"/> 1.27 + 1.28 +</svg>