gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definitions

⎇ main tests/xml/blockflex/blockflex_flex_in_block__content_box_rtl.xml HTML · 19 lines · 774 B History raw

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

1<test name="blockflex_flex_in_block__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="block" box-sizing="content-box" direction="rtl" width="200px">
5      <div display="flex" box-sizing="content-box" direction="rtl">
6        <div box-sizing="content-box" direction="rtl" width="50px" height="50px"/>
7      </div>
8      <div display="block" box-sizing="content-box" direction="rtl" width="50px" height="20px"/>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="200" height="70">
13      <node x="0" y="0" width="200" height="50">
14        <node x="150" y="0" width="50" height="50"/>
15      </node>
16      <node x="150" y="50" width="50" height="20"/>
17    </node>
18  </expectations>
19</test>