gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Sutichaykuna

⎇ main tests/xml/gridflex/gridflex_column_integration__border_box_ltr.xml HTML · 31 siq'ikuna · 943 B Ñawpa willay ch'uya

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

1<test name="gridflex_column_integration__border_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div direction="ltr" flex-direction="column">
5      <div display="grid" direction="ltr" grid-template-rows="1fr 1fr" grid-template-columns="1fr 1fr">
6        <text direction="ltr">
7          HH
8        </text>
9        <text direction="ltr">
10          HH
11        </text>
12        <text direction="ltr">
13          HH
14        </text>
15        <text direction="ltr">
16          HH
17        </text>
18      </div>
19    </div>
20  </input>
21  <expectations>
22    <node x="0" y="0" width="40" height="20">
23      <node x="0" y="0" width="40" height="20">
24        <node x="0" y="0" width="20" height="10"/>
25        <node x="20" y="0" width="20" height="10"/>
26        <node x="0" y="10" width="20" height="10"/>
27        <node x="20" y="10" width="20" height="10"/>
28      </node>
29    </node>
30  </expectations>
31</test>