| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 </script> | 7 </script> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <p id="description"> | 10 <p id="description"> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 debug("<br>Before calling setAttribute(\"style\", elem.value):<br>"); | 33 debug("<br>Before calling setAttribute(\"style\", elem.value):<br>"); |
| 34 shouldBe("elem.getAttribute('style')", "''"); | 34 shouldBe("elem.getAttribute('style')", "''"); |
| 35 | 35 |
| 36 elem.setAttribute("style", elem.value); | 36 elem.setAttribute("style", elem.value); |
| 37 | 37 |
| 38 debug("<br>After calling setAttribute(\"style\", elem.value):<br>"); | 38 debug("<br>After calling setAttribute(\"style\", elem.value):<br>"); |
| 39 shouldBe("elem.getAttribute('style')", "''"); | 39 shouldBe("elem.getAttribute('style')", "''"); |
| 40 debug(""); | 40 debug(""); |
| 41 </script> | 41 </script> |
| 42 <script src="../js/resources/js-test-post.js"></script> | |
| 43 <script> | 42 <script> |
| 44 elem.style.display = "none"; | 43 elem.style.display = "none"; |
| 45 if (window.testRunner) | 44 if (window.testRunner) |
| 46 testRunner.notifyDone(); | 45 testRunner.notifyDone(); |
| 47 </script> | 46 </script> |
| 48 </body> | 47 </body> |
| 49 </html> | 48 </html> |
| OLD | NEW |