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

Side by Side Diff: LayoutTests/svg/custom/unicode-in-tspan-multi-svg-crash.html

Issue 15183002: Clear SVGInlineTextBox fragments when the text changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed unused files. Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/svg/custom/unicode-in-tspan-multi-svg-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText(false);
6
7 onload = function() {
8 tSpanElement = document.getElementById('tSpanInFirstRoot');
9 tSpanElement.appendChild(document.createTextNode(unescape('%ufe9e%ue28f%ue 47e')));
10
11 document.body.offsetTop;
12 document.body.style.zoom=0.9;
13
14 document.designMode='on';
15 filterInFirstRoot = document.getElementById('filterInFirstRoot');
16 useElement = document.getElementById('useElement');
17 window.getSelection().setBaseAndExtent(filterInFirstRoot, useElement, 5);
18 document.execCommand('ForwardDelete');
19 document.designMode='off';
20 }
21 </script>
22 <body>
23 <svg xmlns="http://www.w3.org/2000/svg">
24 <text>
25 <filter id="filterInFirstRoot"/>
26 <tspan id="tSpanInFirstRoot"/>
27 </text>
28 <path filter="url(#filterInSecondRoot)"/>
29 </svg>
30
31 <svg xmlns="http://www.w3.org/2000/svg">
32 <use id="useElement"/>
33 <filter id="filterInSecondRoot"/>
34 </svg>
35
36 <p>Test Passes if there is no crash in Debug or Asan builds. There should be no characters preceding "Test".</p>
37 </body>
38 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/unicode-in-tspan-multi-svg-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698