bug1637476-3-ref.html (691B)
1 <!doctype html> 2 <html class="reftest-wait"> 3 <title>Reference: Caret is correctly painted with placeholder opacity:1</title> 4 <script src="/tests/SimpleTest/SimpleTest.js"></script> 5 <style> 6 input { 7 -webkit-appearance:none; /* to avoid bug 1637804 */ 8 /* reset any UA styles and use colors that won't trigger anti-aliasing issues */ 9 background: white; 10 border: 1px solid black; 11 outline: 1px solid black; 12 } 13 </style> 14 <input type=number> 15 <script> 16 SimpleTest.waitForFocus(function() { 17 document.querySelector('input').focus(); 18 requestAnimationFrame(function() { 19 requestAnimationFrame(function() { 20 document.documentElement.removeAttribute("class"); 21 }); 22 }); 23 }); 24 </script>