| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 | 6 |
| 7 <body> | 7 <body> |
| 8 | 8 |
| 9 <p>When an option element became 'enabled' or not-'enabled', distribution should
happen.</p> | 9 <p>When an option element became 'enabled' or not-'enabled', distribution should
happen.</p> |
| 10 <p>Since an option element does not create a renderer, we cannot check this usin
g reftest.</p> | 10 <p>Since an option element does not create a renderer, we cannot check this usin
g reftest.</p> |
| 11 | 11 |
| 12 <div id="container"> | 12 <div id="container"> |
| 13 <div id="host1"> | 13 <div id="host1"> |
| 14 <option id="option1">option 1</option> | 14 <option id="option1">option 1</option> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 shouldBe('nodes2.length', '1'); | 47 shouldBe('nodes2.length', '1'); |
| 48 shouldBe('nodes2.item(0).innerHTML', '"option 4"'); | 48 shouldBe('nodes2.item(0).innerHTML', '"option 4"'); |
| 49 | 49 |
| 50 container.innerHTML = ""; | 50 container.innerHTML = ""; |
| 51 finishJSTest(); | 51 finishJSTest(); |
| 52 }, 0); | 52 }, 0); |
| 53 | 53 |
| 54 </script> | 54 </script> |
| 55 </body> | 55 </body> |
| 56 </html> | 56 </html> |
| OLD | NEW |