summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/filter-scaled-02.html
blob: 60b00f8a350bff2ecabdab6876f953b38209da26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
  <head>
    <title>Test case for scaled SVG with filter region</title>
    <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=765107 -->
  </head>
  <body style="transform: scale(1.4)">
   <div style="position: absolute; top: 20px; left: 200px">
    <svg width="200" viewBox="0 0 222 222">
     <filter id="filter" x="-20%" width="140%">
      <feMerge>
        <feMergeNode/>
      </feMerge>
     </filter>
     <rect fill="green" x="120" y="100" width="100" height="120"
           filter="url(#filter)"/>
     <rect fill="none" stroke="black" stroke-width="4"
           x="120" y="100" width="100" height="120"/>
    </svg>
   </div>
  </body>
</html>