tor-browser

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

caret-color-on-visited-1-ref.html (435B)


      1 <!DOCTYPE html>
      2 <style>
      3 @font-face {
      4  font-family: Ahem;
      5  src: url(Ahem.ttf);
      6 }
      7 div {
      8  font: 16px/1 Ahem;
      9  width: 1em;
     10  background: green;
     11 }
     12 </style>
     13 <div><span>&nbsp;</span></div>
     14 <script>
     15 let $div = document.querySelector('div');
     16 let $span = document.querySelector('span');
     17 window.onload = function () {
     18  document.fonts.ready.then(() => {
     19    $div.style.height = $span.getBoundingClientRect().height + 'px';
     20  });
     21 };
     22 </script>