tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Sutichaykuna

⎇ main tests/xml/flex/wrap_row__content_box_rtl.xml HTML · 19 siq'ikuna · 855 B Ñawpa willay ch'uya

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

1<test name="wrap_row__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-wrap="wrap" width="100px">
5      <div box-sizing="content-box" direction="rtl" width="31px" height="30px"/>
6      <div box-sizing="content-box" direction="rtl" width="32px" height="30px"/>
7      <div box-sizing="content-box" direction="rtl" width="33px" height="30px"/>
8      <div box-sizing="content-box" direction="rtl" width="34px" height="30px"/>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="100" height="60">
13      <node x="69" y="0" width="31" height="30"/>
14      <node x="37" y="0" width="32" height="30"/>
15      <node x="4" y="0" width="33" height="30"/>
16      <node x="66" y="30" width="34" height="30"/>
17    </node>
18  </expectations>
19</test>