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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

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" class="reftest-wait">
     6   <text x="30" y="30" fill="green" style="text-shadow: #cc9900 20px 12px 2px">Hello</text>
     7   <script>
     8     function f() {
     9       document.getElementsByTagName("text")[0].style.textShadow = "grey 3px 3px";
    10       document.documentElement.removeAttribute("class");
    11     }
    13     window.addEventListener("MozReftestInvalidate", f, false);
    14   </script>
    15 </svg>

mercurial