gecko/layout/reftests/forms/placeholder/placeholder-focus-ref.html
Mounir Lamouri d42236f376 Bug 565074 - Write reftests for the placeholder without readonly input element. r=ehsan
--HG--
rename : layout/reftests/forms/placeholder/placeholder-7.html => layout/reftests/forms/placeholder/placeholder-15.html
rename : layout/reftests/forms/placeholder/placeholder-8.html => layout/reftests/forms/placeholder/placeholder-16.html
rename : layout/reftests/forms/placeholder/placeholder-9.html => layout/reftests/forms/placeholder/placeholder-17.html
rename : layout/reftests/forms/placeholder/placeholder-focus-ref.html => layout/reftests/forms/placeholder/placeholder-readonly-focus-ref.html
2010-05-17 12:20:17 +02:00

17 lines
380 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<script type="text/javascript">
function focusInput()
{
document.getElementById('t1').focus();
}
function disableReftestWait()
{
document.documentElement.className = '';
}
</script>
<body onload="focusInput();">
<input id='t1' type="text" onfocus="disableReftestWait();">
</body>
</html>