| 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="../../../fast/js/resources/js-test-pre.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> | 
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  59 debug("The element losts a renderer. The element state should not be changed."); |  59 debug("The element losts a renderer. The element state should not be changed."); | 
|  60 shouldBeTrue('number.style.display = "none"; number.validity.badInput'); |  60 shouldBeTrue('number.style.display = "none"; number.validity.badInput'); | 
|  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 <script src="../../../fast/js/resources/js-test-post.js"></script> |  | 
|  70 </body> |  69 </body> | 
|  71 </html> |  70 </html> | 
| OLD | NEW |