gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definiciones

⎇ main tests/xml/flex/bevy_issue_9530_reduced2__content_box_rtl.xml HTML · 19 líneas · 781 B Historia crudo

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

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