| OLD | NEW |
| 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> |
| OLD | NEW |