tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Sutichaykuna

⎇ main tests/xml/block/block_inset_fixed__border_box_ltr.xml HTML · 17 siq'ikuna · 681 B Ñawpa willay ch'uya

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

1<test name="block_inset_fixed__border_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="block" direction="ltr" width="50px">
5      <div direction="ltr" height="10px" top="4px" left="2px"/>
6      <div direction="ltr" height="10px" bottom="8px" right="6px"/>
7      <div direction="ltr" height="10px" top="4px" left="2px" bottom="8px" right="6px"/>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="50" height="30">
12      <node x="2" y="4" width="50" height="10"/>
13      <node x="-6" y="2" width="50" height="10"/>
14      <node x="2" y="24" width="50" height="10"/>
15    </node>
16  </expectations>
17</test>