gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definitions

⎇ main tests/xml/flex/flex_root_ignored__content_box_ltr.xml HTML · 15 lines · 646 B History raw

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

1<test name="flex_root_ignored__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" width="100px" min-height="100px" max-height="500px">
5      <div box-sizing="content-box" direction="ltr" flex-grow="1" flex-basis="200px"/>
6      <div box-sizing="content-box" direction="ltr" height="100px"/>
7    </div>
8  </input>
9  <expectations>
10    <node x="0" y="0" width="100" height="300">
11      <node x="0" y="0" width="100" height="200"/>
12      <node x="0" y="200" width="100" height="100"/>
13    </node>
14  </expectations>
15</test>