2 <html class=
"reftest-wait">
3 <link rel='stylesheet' type='text/css' href='placeholder-style.css'
>
4 <!-- Test: when focused, value reset should show placeholder. -->
5 <script type=
"text/javascript">
6 function focusPlaceholder()
8 document
.getElementById('p1').focus();
12 document
.getElementById('p1').value
= '';
14 function disableReftestWait()
16 document
.documentElement
.className
= '';
20 <body onload=
"focusPlaceholder();">
21 <input type=
"text" id=
"p1" value=
"my value" placeholder=
"my placeholder" onfocus=
"resetValue(); disableReftestWait();">