layout/reftests/svg/dynamic-text-05.svg

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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" class="reftest-wait">
     7   <title>Testcase for text removal</title>
     9   <script>
    10     document.addEventListener("MozReftestInvalidate", doTest, false);
    11     setTimeout(doTest, 4000); // fallback for running outside reftest
    13     function doTest() {
    14       document.getElementById("text").firstChild.nodeValue='';
    15       document.documentElement.removeAttribute("class");
    16     }
    17   </script>
    18   <rect width="100%" height="100%" fill="lime"/>
    19   <text id="text" font-size="32" x="40" y="40">SHOULD NOT SEE ME</text>
    20 </svg>

mercurial