| 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="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 debug('Setting "loop" to a negative value raises an exception:'); | 289 debug('Setting "loop" to a negative value raises an exception:'); |
| 290 testParent.innerHTML = '<marquee id="marquee">test</marquee>'; | 290 testParent.innerHTML = '<marquee id="marquee">test</marquee>'; |
| 291 shouldThrow('document.getElementById("marquee").scrollDelay = -5;'); | 291 shouldThrow('document.getElementById("marquee").scrollDelay = -5;'); |
| 292 | 292 |
| 293 debug('"loop" can be set to -1 by script:'); | 293 debug('"loop" can be set to -1 by script:'); |
| 294 testParent.innerHTML = '<marquee id="marquee" loop="5">test</marquee>'; | 294 testParent.innerHTML = '<marquee id="marquee" loop="5">test</marquee>'; |
| 295 marquee = document.getElementById('marquee'); | 295 marquee = document.getElementById('marquee'); |
| 296 marquee.loop = -1; | 296 marquee.loop = -1; |
| 297 shouldBe('marquee.loop', '-1'); | 297 shouldBe('marquee.loop', '-1'); |
| 298 </script> | 298 </script> |
| 299 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 300 </body> | 299 </body> |
| 301 </html> | 300 </html> |
| OLD | NEW |