Bug 1649121: part 48) Rename `MakeEmpty` in `ContentIteratorBase::InitInternal`....
[gecko.git] / layout / reftests / svg / dynamic-textPath-03.svg
blob6c604daf0bbafeac108bca10d2aea0e44b92b907
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");
24 </script>
25 </svg>