5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.waitUntilDone();
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();
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.