22 lines
460 B
HTML
22 lines
460 B
HTML
<script>
|
|
|
|
function finishTest()
|
|
{
|
|
document.getElementById('textarea').setAttribute('placeholder','Placeholder');
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
}
|
|
|
|
function test()
|
|
{
|
|
if (window.testRunner)
|
|
testRunner.waitUntilDone();
|
|
setTimeout(finishTest, 0);
|
|
}
|
|
|
|
</script>
|
|
<body onload="test()">
|
|
<p>If you can see the word "Placeholder" in the text area, then all is well.</p>
|
|
<p><textarea id="textarea"></textarea></p>
|
|
</body>
|