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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/text/text-layout-crash.html

Issue 1854503002: Add meta charset tag to unlabelled utf-8 files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drop two more files unaffected by utf-8 label Created 4 years, 8 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <meta charset="utf-8">
3 <body> 4 <body>
4 <script> 5 <script>
5 if (window.testRunner) 6 if (window.testRunner)
6 testRunner.dumpAsTextWithPixelResults(); 7 testRunner.dumpAsTextWithPixelResults();
7 8
8 onload = function() { 9 onload = function() {
9 document.body.offsetTop; 10 document.body.offsetTop;
10 document.body.style.zoom=0.9; 11 document.body.style.zoom=0.9;
11 12
12 document.designMode='on'; 13 document.designMode='on';
13 window.getSelection().setBaseAndExtent(filterInFirstRoot, 0, null, 0); 14 window.getSelection().setBaseAndExtent(filterInFirstRoot, 0, null, 0);
14 document.execCommand('ForwardDelete'); 15 document.execCommand('ForwardDelete');
15 } 16 }
16 </script> 17 </script>
17 This test passes if it does not crash.<br/> 18 This test passes if it does not crash.<br/>
18 <svg id="111"> 19 <svg id="111">
19 <text direction="rtl" id="filterInFirstRoot"> 20 <text direction="rtl" id="filterInFirstRoot">
20 <tspan id="tSpanInFirstRoot">abc</tspan> 21 <tspan id="tSpanInFirstRoot">abc</tspan>
21 </text> 22 </text>
22 <path filter="url(#filterInSecondRoot)"></path> 23 <path filter="url(#filterInSecondRoot)"></path>
23 </svg> 24 </svg>
24 <svg id="222"> 25 <svg id="222">
25 <filter id="filterInSecondRoot"></filter> 26 <filter id="filterInSecondRoot"></filter>
26 </svg> 27 </svg>
27 </body> 28 </body>
28 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698