22 lines
453 B
HTML
22 lines
453 B
HTML
<script>
|
|
|
|
function finishTest()
|
|
{
|
|
document.getElementById('input').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 field, then all is well.</p>
|
|
<p><input type="text" id="input"></p>
|
|
</body>
|