tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91822 Sutichaykuna

⎇ main tests/xml/flex/align_baseline_child__border_box_ltr.xml HTML · 19 siq'ikuna · 709 B Ñawpa willay ch'uya

Implement `direction` property (#906) 60601a657 · Kane Wang ·

1<test name="align_baseline_child__border_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div direction="ltr" align-items="baseline" width="100px" height="100px">
5      <div direction="ltr" width="50px" height="50px"/>
6      <div direction="ltr" flex-direction="column" width="50px" height="20px">
7        <div direction="ltr" width="50px" height="10px"/>
8      </div>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="100" height="100">
13      <node x="0" y="0" width="50" height="50"/>
14      <node x="50" y="40" width="50" height="20">
15        <node x="0" y="0" width="50" height="10"/>
16      </node>
17    </node>
18  </expectations>
19</test>