| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <div id="testParent" style="visibility:hidden"></div> | 7 <div id="testParent" style="visibility:hidden"></div> |
| 8 <script> | 8 <script> |
| 9 description('Various tests for the marquee element.'); | 9 description('Various tests for the marquee element.'); |
| 10 | 10 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 shouldThrow('document.getElementById("marquee").scrollDelay = -5;'); | 304 shouldThrow('document.getElementById("marquee").scrollDelay = -5;'); |
| 305 | 305 |
| 306 debug('"loop" can be set to -1 by script:'); | 306 debug('"loop" can be set to -1 by script:'); |
| 307 testParent.innerHTML = '<marquee id="marquee" loop="5">test</marquee>'; | 307 testParent.innerHTML = '<marquee id="marquee" loop="5">test</marquee>'; |
| 308 marquee = document.getElementById('marquee'); | 308 marquee = document.getElementById('marquee'); |
| 309 marquee.loop = -1; | 309 marquee.loop = -1; |
| 310 shouldBe('marquee.loop', '-1'); | 310 shouldBe('marquee.loop', '-1'); |
| 311 </script> | 311 </script> |
| 312 </body> | 312 </body> |
| 313 </html> | 313 </html> |
| OLD | NEW |