gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Sutichaykuna

⎇ main tests/xml/flex/bevy_issue_9530_reduced3__content_box_rtl.xml HTML · 15 siq'ikuna · 606 B Ñawpa willay ch'uya

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

1<test name="bevy_issue_9530_reduced3__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="80px">
5      <text box-sizing="content-box" direction="rtl" flex-grow="1" margin-top="0px" margin-left="20px" margin-bottom="0px" margin-right="20px">
6        HH​HH​HH​HH​HH​HH​HH​HH
7      </text>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="80" height="40">
12      <node x="20" y="0" width="40" height="40"/>
13    </node>
14  </expectations>
15</test>