gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91841 Sutichaykuna

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

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

1<test name="wrap_column__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div box-sizing="content-box" direction="ltr" flex-direction="column" flex-wrap="wrap" width="100px" height="100px">
5      <div box-sizing="content-box" direction="ltr" width="30px" height="31px"/>
6      <div box-sizing="content-box" direction="ltr" width="30px" height="32px"/>
7      <div box-sizing="content-box" direction="ltr" width="30px" height="33px"/>
8      <div box-sizing="content-box" direction="ltr" width="30px" height="34px"/>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="100" height="100">
13      <node x="0" y="0" width="30" height="31"/>
14      <node x="0" y="31" width="30" height="32"/>
15      <node x="0" y="63" width="30" height="33"/>
16      <node x="50" y="0" width="30" height="34"/>
17    </node>
18  </expectations>
19</test>