haikuwebkit/LayoutTests/fast/forms/placeholder-set-value.html

15 lines
496 B
HTML

<html>
<head>
<script type="text/javascript" charset="utf-8">
function runTest()
{
document.getElementById('searchfield').value = 'New text';
}
</script>
</head>
<body onload="runTest()">
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=24508">https://bugs.webkit.org/show_bug.cgi?id=24508</a>. Search field does not redraw if value set, when it has placeholder text.</p>
<input id="searchfield" type="search" placeholder="Placeholder text">
</body>
</html>