gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Sutichaykuna

⎇ main tests/xml/flex/bevy_issue_16304__border_box_rtl.xml HTML · 23 siq'ikuna · 871 B Ñawpa willay ch'uya

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

1<test name="bevy_issue_16304__border_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="flex" direction="rtl">
5      <div display="flex" direction="rtl" flex-direction="column" width="50px">
6        <div display="flex" direction="rtl" flex-wrap="wrap" min-width="50px" row-gap="10px" column-gap="10px">
7          <div direction="rtl" width="20px" height="40px"/>
8          <div direction="rtl" width="20px" height="40px"/>
9        </div>
10      </div>
11    </div>
12  </input>
13  <expectations>
14    <node x="0" y="0" width="50" height="40">
15      <node x="0" y="0" width="50" height="40">
16        <node x="0" y="0" width="50" height="40">
17          <node x="30" y="0" width="20" height="40"/>
18          <node x="0" y="0" width="20" height="40"/>
19        </node>
20      </node>
21    </node>
22  </expectations>
23</test>