tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1637476-2.html (695B)


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