gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definitions

⎇ main tests/xml/flex/wrap_row__content_box_ltr.xml HTML · 19 lines · 854 B History raw

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

1<test name="wrap_row__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-wrap="wrap" width="100px">
5      <div box-sizing="content-box" direction="ltr" width="31px" height="30px"/>
6      <div box-sizing="content-box" direction="ltr" width="32px" height="30px"/>
7      <div box-sizing="content-box" direction="ltr" width="33px" height="30px"/>
8      <div box-sizing="content-box" direction="ltr" width="34px" height="30px"/>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="100" height="60">
13      <node x="0" y="0" width="31" height="30"/>
14      <node x="31" y="0" width="32" height="30"/>
15      <node x="63" y="0" width="33" height="30"/>
16      <node x="0" y="30" width="34" height="30"/>
17    </node>
18  </expectations>
19</test>