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

Side by Side Diff: LayoutTests/fast/forms/file/display-none-upload-button.html

Issue 58533003: Move fast/js/resources files to resources. (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 <style> 2 <style>
3 input { 3 input {
4 border: 5px solid salmon; 4 border: 5px solid salmon;
5 } 5 }
6 input::-webkit-file-upload-button { 6 input::-webkit-file-upload-button {
7 display: none; 7 display: none;
8 } 8 }
9 </style> 9 </style>
10 Tests that a display:none upload button works. 10 Tests that a display:none upload button works.
11 <input type="file"> 11 <input type="file">
12 <script src="../../js/resources/js-test-pre.js"></script> 12 <script src="../../../resources/js-test.js"></script>
13 <script> 13 <script>
14 // FIXME: The text inside the file input should give the input a contentHeight 14 // FIXME: The text inside the file input should give the input a contentHeight
15 // even when there's no upload button. 15 // even when there's no upload button.
16 // https://bugs.webkit.org/show_bug.cgi?id=109104 16 // https://bugs.webkit.org/show_bug.cgi?id=109104
17 shouldBeTrue("document.querySelector('input').offsetHeight > 10"); 17 shouldBeTrue("document.querySelector('input').offsetHeight > 10");
18 </script> 18 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/fieldset/validation-in-fieldset.html ('k') | LayoutTests/fast/forms/file/file-input-change-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698