tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Sutichaykuna

⎇ main tests/xml/flex/wrapped_column_max_height__content_box_ltr.xml HTML · 17 siq'ikuna · 967 B Ñawpa willay ch'uya

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

1<test name="wrapped_column_max_height__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" align-items="center" align-content="center" justify-content="center" width="700px" height="500px">
5      <div box-sizing="content-box" direction="ltr" width="100px" height="500px" max-height="200px"/>
6      <div box-sizing="content-box" direction="ltr" width="200px" height="200px" margin-top="20px" margin-left="20px" margin-bottom="20px" margin-right="20px"/>
7      <div box-sizing="content-box" direction="ltr" width="100px" height="100px"/>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="700" height="500">
12      <node x="250" y="30" width="100" height="200"/>
13      <node x="200" y="250" width="200" height="200"/>
14      <node x="420" y="200" width="100" height="100"/>
15    </node>
16  </expectations>
17</test>