tor-browser

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

flex-align-baseline-column-vert-rl-rtl-wrap-reverse.html (921B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
      5 <meta name="assert" content="Baseline aligned item should be aligned towards the start of the inline axis (bottom side).">
      6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#flex-wrap-property">
      7 <link rel="help" href="https://drafts.csswg.org/css-align-3/#align-by-baseline">
      8 <style>
      9 .flexbox {
     10  display: flex;
     11  width: 100px;
     12  height: 100px;
     13  align-items: baseline;
     14  flex-direction: column;
     15  writing-mode: vertical-rl;
     16  direction: rtl;
     17  flex-wrap: wrap-reverse;
     18  position: relative;
     19 }
     20 .item {
     21  width: 100px;
     22  height: 50px;
     23  background-color: green;
     24 }
     25 .abspos {
     26  position: absolute;
     27  bottom: 50px;
     28 }
     29 </style>
     30 </head>
     31 <body>
     32 <p>Test passes if there is a filled green square.</p>
     33 <div class="flexbox">
     34  <div class="abspos item"></div>
     35  <div class="item"></div>
     36 </div>
     37 </body>
     38 </html>