layout/reftests/bugs/796847-1.svg

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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" class="reftest-wait">
     6   <title>Test that the area that's covered by a filtered element is invalidated when content inside it changes</title>
     7   <filter id="f" x="0" y="0" width="100%" height="100">
     8     <feGaussianBlur in="SourceGraphic" stdDeviation="0.1"/>
     9   </filter>
    10   <script type="text/javascript">//<![CDATA[
    12 function doTest()
    13 {
    14   var e = document.getElementsByTagName("rect")[0];
    15   e.style.fill = "lime";
    16   document.documentElement.removeAttribute('class');
    17 }
    19 document.addEventListener("MozReftestInvalidate", doTest, false);
    21   //]]></script>
    22   <g filter="url(#f)">
    23     <rect x="0" y="0" width="100" height="100" style="fill: red;"/>
    24   </g>
    25 </svg>

mercurial