| 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 optgroup element became 'disabled' or not-'disabled', distribution sh
ould happen.</p> | 9 <p>When an optgroup element became 'disabled' or not-'disabled', distribution sh
ould happen.</p> |
| 10 <p>Since an optgroup element does not create a renderer, we cannot check this us
ing reftest.</p> | 10 <p>Since an optgroup element does not create a renderer, we cannot check this us
ing 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', '"optgroup 3"'); | 48 shouldBe('nodes2.item(0).innerHTML', '"optgroup 3"'); |
| 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 |