Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: LayoutTests/fast/forms/number/number-validity-badinput.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698