tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 10TOML 3CSS 1348 Definitions

⎇ main tests/xml/flex/flex_grow_height_maximized__content_box_rtl.xml HTML · 19 lines · 846 B History raw

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

1<test name="flex_grow_height_maximized__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div box-sizing="content-box" direction="rtl" flex-direction="column" width="100px" height="500px">
5      <div box-sizing="content-box" direction="rtl" flex-direction="column" flex-grow="1" min-height="100px" max-height="500px">
6        <div box-sizing="content-box" direction="rtl" flex-grow="1" flex-basis="200px"/>
7        <div box-sizing="content-box" direction="rtl" height="100px"/>
8      </div>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="100" height="500">
13      <node x="0" y="0" width="100" height="500">
14        <node x="0" y="0" width="100" height="400"/>
15        <node x="0" y="400" width="100" height="100"/>
16      </node>
17    </node>
18  </expectations>
19</test>