tor-browser

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

object-view-box-writing-mode-canvas-ref.html (740B)


      1 <!-- This is an autogen file. Run support/generate_object_view_box_tests.py to update -->
      2 <!DOCTYPE html>
      3 <html>
      4 <title>CSS object-view-box with vertical writing mode : ref</title>
      5 <link rel="author" href="mailto:khushalsagar@chromium.org">
      6 <script src="support/testHelper.js"></script>
      7 <link rel="help" href="https://drafts.csswg.org/css-images-4/#the-object-view-box">
      8 
      9 <body>
     10 <style>
     11 html {
     12  writing-mode: vertical-lr;
     13 }
     14 .container_view_box_subset {
     15  width: 50px;
     16  height: 75px;
     17  overflow: hidden;
     18  display: inline-block;
     19 }
     20 .view_box_subset {
     21  position: relative;
     22  top: -25px;
     23 }
     24 </style>
     25 <div class="container_view_box_subset">
     26  <canvas class="view_box_subset"></canvas>
     27 </div>
     28 </body>
     29 <script>
     30  populateElements("");
     31 </script>