gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Sutichaykuna

⎇ main tests/xml/flex/bevy_issue_10343_flex__content_box_ltr.xml HTML · 21 siq'ikuna · 924 B Ñawpa willay ch'uya

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

1<test name="bevy_issue_10343_flex__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" flex-direction="column" justify-content="space-around" width="100px" height="100px">
5      <div display="flex" box-sizing="content-box" direction="ltr">
6        <div display="flex" box-sizing="content-box" direction="ltr" width="200px" height="200px" margin-top="5px" margin-left="5px" margin-bottom="5px" margin-right="5px">
7          <div box-sizing="content-box" direction="ltr"/>
8        </div>
9      </div>
10    </div>
11  </input>
12  <expectations>
13    <node x="0" y="0" width="100" height="100">
14      <node x="0" y="0" width="100" height="210">
15        <node x="5" y="5" width="90" height="200">
16          <node x="0" y="0" width="0" height="200"/>
17        </node>
18      </node>
19    </node>
20  </expectations>
21</test>