tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definitions

⎇ main tests/xml/flex/bevy_issue_16304__content_box_ltr.xml HTML · 23 lines · 997 B History raw

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

1<test name="bevy_issue_16304__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="flex" box-sizing="content-box" direction="ltr">
5      <div display="flex" box-sizing="content-box" direction="ltr" flex-direction="column" width="50px">
6        <div display="flex" box-sizing="content-box" direction="ltr" flex-wrap="wrap" min-width="50px" row-gap="10px" column-gap="10px">
7          <div box-sizing="content-box" direction="ltr" width="20px" height="40px"/>
8          <div box-sizing="content-box" direction="ltr" width="20px" height="40px"/>
9        </div>
10      </div>
11    </div>
12  </input>
13  <expectations>
14    <node x="0" y="0" width="50" height="40">
15      <node x="0" y="0" width="50" height="40">
16        <node x="0" y="0" width="50" height="40">
17          <node x="0" y="0" width="20" height="40"/>
18          <node x="30" y="0" width="20" height="40"/>
19        </node>
20      </node>
21    </node>
22  </expectations>
23</test>