Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / crash-text-in-textpath.svg
blobe5806dd7ece9301952d59e7845075ff8606ddbc6
1 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <text>
3 <textPath id="textPath">
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 // This triggers a layout before adding the #text node.
9 document.getElementById('textPath').scrollIntoView('foo');
10 </script>
11 foo
12 <script>
13 // This triggers a layout after adding the #text node to fire the ASSERT.
14 document.getElementById('textPath').scrollIntoView('foo');
15 </script>
16 </textPath>
17 </text>
18 <text x="10" y="50">Test for bug <a xlink:href="https://bugs.webkit.org/show_bug.cgi?id=63076">63076</a>: Assertion failure in LayoutSVGInlineText::characterStartsNewTextChunk</text>
19 <text x="10" y="100">This test passes if it does not crash</text>
20 </svg>