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

Side by Side Diff: LayoutTests/svg/custom/bug78838.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 <script>
3 function go() {
4
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 q = document.getElementById('root').contentDocument;
9 q.firstChild.setAttribute('style', 'content:counter(item)');
10
11 document.designMode = 'on';
12 q.execCommand('selectAll');
13 q.execCommand('insertImage');
14 q.getElementById('x').appendChild( q.firstChild.cloneNode(1) );
15 q.execCommand('undo');
16 }
17 </script>
18 <object data="resources/bug78838.svg" id="root" onload="go()"/></object>
19 <p>PASSED</p>
OLDNEW
« no previous file with comments | « LayoutTests/editing/style/justify-without-enclosing-block.xhtml ('k') | LayoutTests/svg/custom/bug78838-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698