mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d42236f376
--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
19 lines
504 B
HTML
19 lines
504 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<!-- Test: when focused, element should show placeholder. -->
|
|
<script type="text/javascript">
|
|
function focusPlaceholder()
|
|
{
|
|
document.getElementById('p1').focus();
|
|
}
|
|
function disableReftestWait()
|
|
{
|
|
document.documentElement.className = '';
|
|
}
|
|
</script>
|
|
|
|
<body onload="focusPlaceholder();">
|
|
<input type="text" id="p1" value="" placeholder="my placeholder" readonly onfocus="disableReftestWait();">
|
|
</body>
|
|
</html>
|