Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: LayoutTests/svg/custom/text-node-in-text-invalidated.svg

Issue 7350004: Merge 90156 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 id="text"> 2 <text id="text">
3 bar 3 bar
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('text').scrollIntoView('foo'); 9 document.getElementById('text').scrollIntoView('foo');
10 10
11 var text = document.getElementById('text'); 11 var text = document.getElementById('text');
12 text.insertBefore(document.createTextNode('foo'), text.firstChild); 12 text.insertBefore(document.createTextNode('foo'), text.firstChild);
13 13
14 // This triggers a layout after adding the #text node to fire the ASSERT . 14 // This triggers a layout after adding the #text node to fire the ASSERT .
15 document.getElementById('text').scrollIntoView('foo'); 15 document.getElementById('text').scrollIntoView('foo');
16 </script> 16 </script>
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698