summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/alignment/grid-justify-baseline-001.html
blob: 959767bd7c780ace786d371b91ed43ed93f64590 (plain)
1
2
3
4
5
6
7
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-align-3/#baseline-sharing-group">
<link rel="match" href="grid-justify-baseline-001-ref.html">
<div style="display: grid; width: 100px; height: 100px; direction: rtl; justify-items: baseline; background: gray;">
  <div style="writing-mode: vertical-rl; background: cyan;">one<br>two</div>
  <div style="writing-mode: vertical-lr; font-size: 30px; background: lime;">one<br>two</div>
</div>