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

18 lines
424 B
HTML

<!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>