tor-browser

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

caret-shape-block-zoom.html (617B)


      1 <!DOCTYPE html>
      2 <title>caret-shape block color is the same as what is specified by caret-color property</title>
      3 <link rel=help href="https://drafts.csswg.org/css-ui/#caret-shape">
      4 <link rel=match href="caret-shape-block-zoom-ref.html">
      5 <meta name="assert"
      6  content="Test checks that caret-shape block zooms in line with the zoom factor.">
      7 <style>
      8  div {
      9    font-size: 3em;
     10    zoom: 2;
     11  }
     12 
     13  #target {
     14    caret-color: lime;
     15    caret-shape: block;
     16    caret-animation: manual;
     17  }
     18 
     19  #target:focus {
     20    outline: none;
     21  }
     22 </style>
     23 <div id="target" contenteditable>abc</div>
     24 <script>
     25  target.focus();
     26 </script>