gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Sutichaykuna

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

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

1<test name="multiline_min_max_12__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="flex" box-sizing="content-box" direction="rtl" flex-wrap="wrap" width="600px" height="20px" border-top="5px" border-left="5px" border-bottom="5px" border-right="5px">
5      <div direction="rtl" flex-grow="1" flex-basis="600px" height="10px" max-width="300px" padding-left="10px"/>
6      <div direction="rtl" flex-grow="1" width="100px" height="10px"/>
7      <div direction="rtl" flex-grow="1" width="100px" height="10px"/>
8      <div direction="rtl" flex-grow="1" width="100px" height="10px"/>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="610" height="30">
13      <node x="305" y="5" width="300" height="10"/>
14      <node x="205" y="5" width="100" height="10"/>
15      <node x="105" y="5" width="100" height="10"/>
16      <node x="5" y="5" width="100" height="10"/>
17    </node>
18  </expectations>
19</test>