tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 499HTML 245JavaScript 8Markdown 71218 Definiciones

⎇ main tests/xml/block/block_direction_rtl__border_box_ltr.xml HTML · 15 líneas · 528 B Historia crudo

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

1<test name="block_direction_rtl__border_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="block" direction="rtl" width="100px">
5      <div direction="ltr" width="20px" height="10px"/>
6      <div direction="ltr" width="50px" height="10px"/>
7    </div>
8  </input>
9  <expectations>
10    <node x="0" y="0" width="100" height="20">
11      <node x="80" y="0" width="20" height="10"/>
12      <node x="50" y="10" width="50" height="10"/>
13    </node>
14  </expectations>
15</test>