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

Side by Side Diff: LayoutTests/svg/custom/bug79798.html

Issue 1167033002: Remove layout tests that run execCommand on non-HTML documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix doctype Created 5 years, 6 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
OLDNEW
(Empty)
1 <!-- This test passes if there is no crash. -->
2 <!-- It was created by the fuzzer and has been reduced. -->
3 <script>
4 function go() {
5
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 q = document.getElementById('root').contentDocument;
10
11 r = document.createRange();
12 s = window.getSelection();
13
14 r.selectNodeContents( q.getElementById('g') );
15 s.addRange( r );
16
17 document.designMode = 'on';
18 q.execCommand('formatBlock', 1, 'h1');
19 q.execCommand('formatBlock', 1, 'h1');
20 q.execCommand('formatBlock', 1, 'h1');
21 document.open();
22 document.close();
23 }
24 </script>
25 <object data="resources/bug79798.svg" id="root" onload="go()"/</object>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/bug78838-expected.txt ('k') | LayoutTests/svg/custom/bug79798-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698