layout/reftests/svg/dynamic-textPath-03.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"
     6      xmlns:xlink="http://www.w3.org/1999/xlink"
     7      class="reftest-wait" id="p1">
     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   </defs>
    14   <text style="16px sans-serif"><textPath xlink:href="#p1">Hello</textPath></text>
    16   <script>
    17     document.addEventListener("MozReftestInvalidate", doTest, false);
    18     setTimeout(doTest, 4000); // fallback for running outside reftest
    20     function doTest() {
    21       document.documentElement.removeAttribute("id");
    22       document.documentElement.removeAttribute("class");
    23     }
    24   </script>
    25 </svg>

mercurial