Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / file / sibling-of-disabled-file-input.html
blob6a54182a0dca3f762f1e47522dadc021999b6c0f
1 <!doctype html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
9 function onLoad() {
10 div1 = document.createElement('div');
11 document.body.appendChild(div1);
13 div2 = document.createElement('div');
14 div1.appendChild(div2);
16 fileInput = document.createElement('input');
17 fileInput.type = 'file';
18 fileInput.disabled = true;
19 div2.appendChild(fileInput);
21 divTxt = document.createElement('div');
22 div2.appendChild(divTxt);
24 setTimeout(function() {
25 divTxt.appendChild(document.createTextNode('PASS if this text is visible.'));
26 if (window.testRunner)
27 testRunner.notifyDone();
28 }, 1);
30 </script>
31 </head>
32 <body onload="onLoad();">
33 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=104226">https://bugs.webkit.org/show_bug.cgi?id=104226</a>
34 Disabled file input box stops a certain other div from being rendered.
35 </p>
36 </body>
37 </html>