| 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 <script> | 9 <script> |
| 10 description('Tests the behavior of .min and .max of HTMLInputElement.'); | 10 description('Tests the behavior of .min and .max of HTMLInputElement.'); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 // The range type has the default minimum and the default maximum. | 81 // The range type has the default minimum and the default maximum. |
| 82 // But they aren't exposed by .min .max IDL attributes. | 82 // But they aren't exposed by .min .max IDL attributes. |
| 83 debug('Check implicit min/max of type=range:'); | 83 debug('Check implicit min/max of type=range:'); |
| 84 input.type = 'range'; | 84 input.type = 'range'; |
| 85 input.setAttribute('min', ''); | 85 input.setAttribute('min', ''); |
| 86 input.setAttribute('max', ''); | 86 input.setAttribute('max', ''); |
| 87 shouldBe('input.min', '""'); | 87 shouldBe('input.min', '""'); |
| 88 shouldBe('input.max', '""'); | 88 shouldBe('input.max', '""'); |
| 89 </script> | 89 </script> |
| 90 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 91 </body> | 90 </body> |
| 92 </html> | 91 </html> |
| OLD | NEW |