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

Side by Side Diff: third_party/WebKit/LayoutTests/html/marquee/marquee-set-attribute-crash.html

Issue 2674673005: Move tests for MARQUEE element to html/marquee/. (Closed)
Patch Set: Created 3 years, 10 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 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script> 6 <script>
7 jsTestIsAsync = true; 7 jsTestIsAsync = true;
8 var marquee = document.createElementNS("http://www.w3.org/1999/xhtml", "marquee" ); 8 var marquee = document.createElementNS("http://www.w3.org/1999/xhtml", "marquee" );
9 marquee.setAttribute("bgcolor", "ffcc00"); 9 marquee.setAttribute("bgcolor", "ffcc00");
10 var marquee2 = marquee.cloneNode(false); 10 var marquee2 = marquee.cloneNode(false);
11 marquee2.setAttribute("class", "foo"); 11 marquee2.setAttribute("class", "foo");
12 setTimeout(function () { 12 setTimeout(function () {
13 marquee.setAttribute("bgcolor", "110A5C5C"); 13 marquee.setAttribute("bgcolor", "110A5C5C");
14 testPassed("marquee.setAttribute didn't crash."); 14 testPassed("marquee.setAttribute didn't crash.");
15 finishJSTest(); 15 finishJSTest();
16 }, 300); 16 }, 300);
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698