Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / file / display-none-upload-button.html
blobef848cfa5099d03a11be7d919676ef20d16be88f
1 <!DOCTYPE HTML>
2 <style>
3 input {
4 border: 5px solid salmon;
6 input::-webkit-file-upload-button {
7 display: none;
9 </style>
10 Tests that a display:none upload button works.
11 <input type="file">
12 <script src="../../../resources/js-test.js"></script>
13 <script>
14 // FIXME: The text inside the file input should give the input a contentHeight
15 // even when there's no upload button.
16 // https://bugs.webkit.org/show_bug.cgi?id=109104
17 shouldBeTrue("document.querySelector('input').offsetHeight > 10");
18 </script>