tor-browser

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

align-items-baseline-column-vert.html (1027B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-align-3/#baseline-export">
      3 <link rel="stylesheet" href="/fonts/ahem.css" />
      4 <style>
      5 #target {
      6  writing-mode: vertical-rl;
      7  display: flex;
      8  flex-direction: column;
      9  align-items: baseline;
     10  inline-size: 200px;
     11  border: solid 3px;
     12 }
     13 #target > div {
     14  margin: 5px 7px 9px 11px;
     15 }
     16 #target > :nth-child(1) {
     17  background: lime;
     18  font: 30px/1 Ahem;
     19  writing-mode: horizontal-tb;
     20 }
     21 #target > :nth-child(2) {
     22  background: hotpink;
     23  font: 20px/1 Ahem;
     24  writing-mode: horizontal-tb;
     25 }
     26 #target > :nth-child(3) {
     27  background: cyan;
     28  font: 16px/1 Ahem;
     29  width: 40px;
     30  height: 40px;
     31 }
     32 </style>
     33 <script src="/resources/testharness.js"></script>
     34 <script src="/resources/testharnessreport.js"></script>
     35 <script src="/resources/check-layout-th.js"></script>
     36 <body onload="checkLayout('#target > div')">
     37 <div id="target">
     38  <div data-offset-y="16">line1<br>line2</div>
     39  <div data-offset-y="24">line1<br>line2</div>
     40  <div data-offset-y="20"></div>
     41 </div>
     42 </body>