tor-browser

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

baseline-synthesis-vert-lr-line-under.html (1050B)


      1 <!DOCTYPE html>
      2 <head>
      3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      4 <link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-align-3/#baseline-export">
      6 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#line-under">
      7 <meta name="assert" content="Line under edge of vertical-lr/sideways item is at its block start edge">
      8 <style>
      9 .flexbox {
     10    display: flex;
     11    writing-mode: vertical-lr;
     12    text-orientation: sideways;
     13    align-items: baseline;
     14    background-color: red;
     15    position: relative;
     16 }
     17 .item {
     18    width: 50px;
     19    height: 50px;
     20    background-color: green;
     21 }
     22 .wide {
     23    width: 100px;
     24 }
     25 .absolute {
     26    position: absolute;
     27    top: 50px;
     28    left: 50px;
     29 }
     30 </style>
     31 </head>
     32 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     33 <body>
     34    <div class="flexbox">
     35        <div class="item wide"></div>
     36        <div class="item"></div>
     37        <div class="item absolute"></div>
     38    </div>
     39 </body>