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

Side by Side Diff: LayoutTests/svg/custom/bug86781.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 <html>
2 <head>
3 </head>
4 <body>
5 <svg width="100" height="200">
6 <g>
7 <text y="20"><tspan id="tspan">PASS</tspan></text>
8 </g>
9 <br>
10 <script>
11 if (window.testRunner) {
12 testRunner.dumpAsText();
13 testRunner.waitUntilDone();
14 }
15 document.execCommand("SelectAll");
16 function remove_tspan() {
17 var elem = document.getElementById("tspan");
18 for (i=0;i<elem.childNodes.length;i++) {
19 elem.parentNode.appendChild(elem.childNodes[i]);
20 }
21 elem.parentNode.removeChild(elem);
22 }
23 remove_tspan();
24 var head = document.getElementsByTagName("head")[0];
25 var style = document.createElement("style");
26 style.type = "text/css";
27 style.innerHTML="* { \n\
28 -webkit-animation-name: name; \n\
29 -webkit-animation-duration: 0.01s; \n\
30 } \n\
31 @-webkit-keyframes name { \n\
32 from { \n\
33 -webkit-column-rule-color: #7e4e51; \n\
34 } \n\
35 to { \n\
36 -webkit-column-rule-color: rgb(19,55,215); \n\
37 } \n\
38 } \n\
39 ";
40 head.appendChild(style);
41
42 if (window.testRunner)
43 setTimeout("testRunner.notifyDone()", 50);
44 </script>
45 </svg>
46 </body>
47 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/bug86392-expected.txt ('k') | LayoutTests/svg/custom/bug86781-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698