OLD | NEW |
1 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3
.org/1999/xlink"> | 1 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3
.org/1999/xlink"> |
2 <text> | 2 <text> |
3 <textPath id="textPath"> | 3 <textPath id="textPath"> |
4 <script> | 4 <script> |
5 if (window.layoutTestController) | 5 if (window.layoutTestController) |
6 layoutTestController.dumpAsText(); | 6 layoutTestController.dumpAsText(); |
7 | 7 |
8 // This triggers a layout before adding the #text node. | 8 // This triggers a layout before adding the #text node. |
9 document.getElementById('textPath').scrollIntoView('foo'); | 9 document.getElementById('textPath').scrollIntoView('foo'); |
10 </script> | 10 </script> |
11 foo | 11 foo |
12 <script> | 12 <script> |
13 // This triggers a layout after adding the #text node to fire the AS
SERT. | 13 // This triggers a layout after adding the #text node to fire the AS
SERT. |
14 document.getElementById('textPath').scrollIntoView('foo'); | 14 document.getElementById('textPath').scrollIntoView('foo'); |
15 </script> | 15 </script> |
16 </textPath> | 16 </textPath> |
17 </text> | 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 RenderSVGInlineText::characterSta
rtsNewTextChunk</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 RenderSVGInlineText::characterSta
rtsNewTextChunk</text> |
19 <text x="10" y="100">This test passes if it does not crash</text> | 19 <text x="10" y="100">This test passes if it does not crash</text> |
20 </svg> | 20 </svg> |
OLD | NEW |