gecko/layout/reftests/css-placeholder/textarea/placeholder-focus.html

18 lines
424 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html class='reftest-wait'>
<link rel='stylesheet' type='text/css' href='style.css'>
<script>
function loadHandler()
{
document.getElementById('t').focus();
}
function focusHandler()
{
document.documentElement.className = '';
}
</script>
<body onload='loadHandler();'>
<textarea id='t' placeholder='foo' onfocus='focusHandler();'></textarea>
</body>
</html>