gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Sutichaykuna

⎇ main tests/xml/grid/grid_margins_percent_end__content_box_rtl.xml HTML · 23 siq'ikuna · 1.1 KB Ñawpa willay ch'uya

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

1<test name="grid_margins_percent_end__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="grid" box-sizing="content-box" direction="rtl" grid-template-rows="40px 40px 40px" grid-template-columns="20px 20px 20px">
5      <div box-sizing="content-box" direction="rtl" align-self="end" justify-self="end" width="20px" height="20px" margin-top="5%" margin-left="20%" margin-bottom="15%" margin-right="10%"/>
6      <div box-sizing="content-box" direction="rtl"/>
7      <div box-sizing="content-box" direction="rtl"/>
8      <div box-sizing="content-box" direction="rtl"/>
9      <div box-sizing="content-box" direction="rtl"/>
10      <div box-sizing="content-box" direction="rtl"/>
11    </div>
12  </input>
13  <expectations>
14    <node x="0" y="0" width="60" height="120">
15      <node x="44" y="17" width="20" height="20"/>
16      <node x="20" y="0" width="20" height="40"/>
17      <node x="0" y="0" width="20" height="40"/>
18      <node x="40" y="40" width="20" height="40"/>
19      <node x="20" y="40" width="20" height="40"/>
20      <node x="0" y="40" width="20" height="40"/>
21    </node>
22  </expectations>
23</test>