| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>Form named getter</title> | 3 <title>Form named getter</title> |
| 4 <script src="/resources/testharness.js"></script> | 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="/resources/testharnessreport.js"></script> | 5 <script src="/resources/testharnessreport.js"></script> |
| 6 <div id=log></div> | 6 <div id=log></div> |
| 7 <!-- XXX Nothing tests id attributes yet. --> | 7 <!-- XXX Nothing tests id attributes yet. --> |
| 8 <!-- XXX Keygen. --> | |
| 9 <!-- XXX We also need tests for moving inputs and forms in the DOM. --> | 8 <!-- XXX We also need tests for moving inputs and forms in the DOM. --> |
| 10 <form> | 9 <form> |
| 11 <input type=button name=button> | 10 <input type=button name=button> |
| 12 <input type=radio name=radio value=x> | 11 <input type=radio name=radio value=x> |
| 13 <input type=radio name=radio value=y> | 12 <input type=radio name=radio value=y> |
| 14 <input type=radio name=radio value=z> | 13 <input type=radio name=radio value=z> |
| 15 </form> | 14 </form> |
| 16 | 15 |
| 17 <form> | 16 <form> |
| 18 <button name=l1></button> | 17 <button name=l1></button> |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 409 |
| 411 i2.setAttribute("form", "c"); | 410 i2.setAttribute("form", "c"); |
| 412 assert_equals(form["past-name2"], undefined); | 411 assert_equals(form["past-name2"], undefined); |
| 413 assert_equals(form["twiddled-name3"], undefined); | 412 assert_equals(form["twiddled-name3"], undefined); |
| 414 assert_equals(form["twiddled-name4"], undefined); | 413 assert_equals(form["twiddled-name4"], undefined); |
| 415 assert_equals(form["past-id2"], undefined); | 414 assert_equals(form["past-id2"], undefined); |
| 416 assert_equals(form["twiddled-id3"], undefined); | 415 assert_equals(form["twiddled-id3"], undefined); |
| 417 assert_equals(form["twiddled-id4"], undefined); | 416 assert_equals(form["twiddled-id4"], undefined); |
| 418 }, "Past names map should work correctly"); | 417 }, "Past names map should work correctly"); |
| 419 </script> | 418 </script> |
| OLD | NEW |