gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1061HTML 997Markdown 12TOML 83120 Definitions

⎇ main tests/xml/flex/min_height__content_box_rtl.xml HTML · 15 lines · 611 B History raw

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

1<test name="min_height__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="100px">
5      <div box-sizing="content-box" direction="rtl" flex-grow="1" min-height="60px"/>
6      <div box-sizing="content-box" direction="rtl" flex-grow="1"/>
7    </div>
8  </input>
9  <expectations>
10    <node x="0" y="0" width="100" height="100">
11      <node x="0" y="0" width="100" height="60"/>
12      <node x="0" y="60" width="100" height="40"/>
13    </node>
14  </expectations>
15</test>