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