gecko/layout/reftests/css-placeholder/input/placeholder-blur.html

22 lines
516 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('i').focus();
}
function focusHandler()
{
document.getElementById('i').blur();
}
function blurHandler()
{
document.documentElement.className = '';
}
</script>
<body onload='loadHandler();'>
<input id='i' placeholder='foo' onfocus='focusHandler();' onblur='blurHandler();'>
</body>
</html>