| 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="../../js/resources/js-test-pre.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> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 nodes2 = content2.getDistributedNodes(); | 46 nodes2 = content2.getDistributedNodes(); |
| 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 <script src="../../js/resources/js-test-post.js"></script> | |
| 56 </body> | 55 </body> |
| 57 </html> | 56 </html> |
| OLD | NEW |