tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91822 Definiciones

⎇ devin/1784923726-flow-root tests/xml/block/block_absolute_rtl__content_box_rtl.xml HTML · 17 líneas · 870 B Historia crudo

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

1<test name="block_absolute_rtl__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="block" box-sizing="content-box" direction="rtl" width="100px" height="100px">
5      <div box-sizing="content-box" direction="rtl" position="absolute" width="20px" height="20px" top="10px" left="10px"/>
6      <div box-sizing="content-box" direction="rtl" position="absolute" width="20px" height="20px" top="40px" right="10px"/>
7      <div box-sizing="content-box" direction="rtl" position="absolute" width="20px" height="20px" top="70px"/>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="100" height="100">
12      <node x="10" y="10" width="20" height="20"/>
13      <node x="70" y="40" width="20" height="20"/>
14      <node x="80" y="70" width="20" height="20"/>
15    </node>
16  </expectations>
17</test>