| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p id="description"></p> | 7 <p id="description"></p> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 | 9 |
| 10 <datalist id="dl1"> | 10 <datalist id="dl1"> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 var datalist = document.getElementById('dl1'); | 22 var datalist = document.getElementById('dl1'); |
| 23 // An option element with empty value is not included. | 23 // An option element with empty value is not included. |
| 24 shouldBe('datalist.options.length', '4'); | 24 shouldBe('datalist.options.length', '4'); |
| 25 | 25 |
| 26 document.getElementById('o4').disabled = true; | 26 document.getElementById('o4').disabled = true; |
| 27 // A disabled option element is not included. | 27 // A disabled option element is not included. |
| 28 shouldBe('datalist.options.length', '3'); | 28 shouldBe('datalist.options.length', '3'); |
| 29 // After datalist is implemented, the expected text should not contain the | 29 // After datalist is implemented, the expected text should not contain the |
| 30 // text in the datalist element. | 30 // text in the datalist element. |
| 31 </script> | 31 </script> |
| 32 <script src="../../../fast/js/resources/js-test-post.js"></script> | |
| 33 </body> | 32 </body> |
| 34 </html> | 33 </html> |
| OLD | NEW |