| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.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"> |
| 11 This test checks that an attribute is not removed when set to the initial value
of an <input> tag | 11 This test checks that an attribute is not removed when set to the initial value
of an <input> tag |
| 12 using <span style="font-family: monospace;">setAttribute()</span>. | 12 using <span style="font-family: monospace;">setAttribute()</span>. |
| 13 If the test passes, you will see a list of <span class="pass" style="font-family
: monospace;">PASS</span> | 13 If the test passes, you will see a list of <span class="pass" style="font-family
: monospace;">PASS</span> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 39 shouldBe("elem.getAttribute('style')", "''"); | 39 shouldBe("elem.getAttribute('style')", "''"); |
| 40 debug(""); | 40 debug(""); |
| 41 </script> | 41 </script> |
| 42 <script> | 42 <script> |
| 43 elem.style.display = "none"; | 43 elem.style.display = "none"; |
| 44 if (window.testRunner) | 44 if (window.testRunner) |
| 45 testRunner.notifyDone(); | 45 testRunner.notifyDone(); |
| 46 </script> | 46 </script> |
| 47 </body> | 47 </body> |
| 48 </html> | 48 </html> |
| OLD | NEW |