OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 <style> | 5 <style> |
6 :invalid { | 6 :invalid { |
7 background-color: #ff0000; | 7 background-color: #ff0000; |
8 } | 8 } |
9 </style> | 9 </style> |
10 </head> | 10 </head> |
11 <body> | 11 <body> |
12 <div id=parent> | 12 <div id=parent> |
13 <input type=number id=number> | 13 <input type=number id=number> |
14 <input id=another> | 14 <input id=another> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 number.style.display = 'inline-block'; | 62 number.style.display = 'inline-block'; |
63 number.focus(); | 63 number.focus(); |
64 debug('A bad input should be cleared by value="".'); | 64 debug('A bad input should be cleared by value="".'); |
65 shouldBeEqualToString('number.value = ""; document.execCommand("SelectAll"); doc
ument.getSelection().toString()', ''); | 65 shouldBeEqualToString('number.value = ""; document.execCommand("SelectAll"); doc
ument.getSelection().toString()', ''); |
66 | 66 |
67 document.getElementById('parent').innerHTML = ''; | 67 document.getElementById('parent').innerHTML = ''; |
68 </script> | 68 </script> |
69 </body> | 69 </body> |
70 </html> | 70 </html> |
OLD | NEW |