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

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

Issue 1778683005: Drop remaining [LegacyInterfaceTypeChecking] for Selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix more tests Created 4 years, 9 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 <body> 3 <body>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsTextWithPixelResults(); 6 testRunner.dumpAsTextWithPixelResults();
7 7
8 onload = function() { 8 onload = function() {
9 document.body.offsetTop; 9 document.body.offsetTop;
10 document.body.style.zoom=0.9; 10 document.body.style.zoom=0.9;
11 11
12 document.designMode='on'; 12 document.designMode='on';
13 window.getSelection().setBaseAndExtent(filterInFirstRoot, 0, 5); 13 window.getSelection().setBaseAndExtent(filterInFirstRoot, 0, null, 0);
14 document.execCommand('ForwardDelete'); 14 document.execCommand('ForwardDelete');
15 } 15 }
16 </script> 16 </script>
17 This test passes if it does not crash.<br/> 17 This test passes if it does not crash.<br/>
18 <svg id="111"> 18 <svg id="111">
19 <text direction="rtl" id="filterInFirstRoot"> 19 <text direction="rtl" id="filterInFirstRoot">
20 <tspan id="tSpanInFirstRoot">abc</tspan> 20 <tspan id="tSpanInFirstRoot">abc</tspan>
21 </text> 21 </text>
22 <path filter="url(#filterInSecondRoot)"></path> 22 <path filter="url(#filterInSecondRoot)"></path>
23 </svg> 23 </svg>
24 <svg id="222"> 24 <svg id="222">
25 <filter id="filterInSecondRoot"></filter> 25 <filter id="filterInSecondRoot"></filter>
26 </svg> 26 </svg>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698