gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Sutichaykuna

⎇ main tests/xml/flex/align_content_stretch__border_box_rtl.xml HTML · 21 siq'ikuna · 842 B Ñawpa willay ch'uya

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

1<test name="align_content_stretch__border_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div direction="rtl" flex-direction="column" flex-wrap="wrap" align-content="stretch" width="150px" height="100px">
5      <div direction="rtl" width="50px"/>
6      <div direction="rtl" width="50px"/>
7      <div direction="rtl" width="50px"/>
8      <div direction="rtl" width="50px"/>
9      <div direction="rtl" width="50px"/>
10    </div>
11  </input>
12  <expectations>
13    <node x="0" y="0" width="150" height="100">
14      <node x="100" y="0" width="50" height="0"/>
15      <node x="100" y="0" width="50" height="0"/>
16      <node x="100" y="0" width="50" height="0"/>
17      <node x="100" y="0" width="50" height="0"/>
18      <node x="100" y="0" width="50" height="0"/>
19    </node>
20  </expectations>
21</test>