gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1114HTML 1040Markdown 12TOML 94698 Definiciones

⎇ 7c123d3d5dffec52b7d432cbfdfd2b1ba6354040 tests/xml/flex/percent_absolute_position__border_box_rtl.xml HTML · 19 líneas · 694 B Historia crudo

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

1<test name="percent_absolute_position__border_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div direction="rtl" flex-direction="column" width="60px" height="50px">
5      <div direction="rtl" position="absolute" width="100%" height="50px" left="50%">
6        <div direction="rtl" width="100%"/>
7        <div direction="rtl" width="100%"/>
8      </div>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="60" height="50">
13      <node x="30" y="0" width="60" height="50">
14        <node x="30" y="0" width="30" height="50"/>
15        <node x="0" y="0" width="30" height="50"/>
16      </node>
17    </node>
18  </expectations>
19</test>