layout/reftests/svg/dynamic-textPath-02.svg

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

     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"
     6      xmlns:xlink="http://www.w3.org/1999/xlink"
     7      class="reftest-wait">
     8   <title>Test for changes to the IDs in the document causing textPath references to update</title>
    10   <defs>
    11     <path id="p1" d="M 100,100 h 200"/>
    12     <path id="p1" d="M 100,200 h 200"/>
    13   </defs>
    15   <text style="16px sans-serif"><textPath xlink:href="#p1">Hello</textPath></text>
    17   <script>
    18     document.addEventListener("MozReftestInvalidate", doTest, false);
    19     setTimeout(doTest, 4000); // fallback for running outside reftest
    21     function doTest() {
    22       document.getElementsByTagName("path")[0].removeAttribute("id");
    23       document.documentElement.removeAttribute("class");
    24     }
    25   </script>
    26 </svg>

mercurial