3 <body style=
"visibility: hidden;">
4 <div style=
"visibility: visible;">
5 <p>This tests pasting (InsertHTML) into an input element when body element has visibility set to hidden.
6 You should see PASS below.
</p>
7 <input type=
"text" value=
"FAIL">
10 if (window
.testRunner
)
11 testRunner
.dumpAsText();
13 var input
= document
.querySelector('input');
15 document
.execCommand('InsertHTML', false, 'PASS');
17 document
.write(input
.value
);