Bug 1935035 - Update a macOS-only test that hard-codes child count.
[gecko.git] / layout / reftests / forms / placeholder / placeholder-5.html
blob0f766d160a4960ecdc45173b2e6618de4bfb4c62
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <!-- Test: placeholder has to be shown if value is reseted via javascript -->
4 <link rel='stylesheet' type='text/css' href='placeholder-style.css'>
5 <script type="text/javascript">
6 function setValue()
8 document.getElementById('p1').value = "";
10 function disableReftestWait()
12 document.documentElement.className = '';
14 </script>
16 <body onload="setValue(); disableReftestWait();">
17 <input type="text" id="p1" value="my value" placeholder="my placeholder">
18 </body>
19 </html>