gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definiciones

⎇ main tests/xml/flex/simple_child__border_box_ltr.xml HTML · 29 líneas · 1.0 KB Historia crudo

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

1<test name="simple_child__border_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div direction="ltr" width="100px" height="100px">
5      <div direction="ltr" width="100%" height="100%">
6        <div direction="ltr" width="10px" height="10px">
7          <div direction="ltr" width="10px" height="10px"/>
8        </div>
9        <div direction="ltr">
10          <div direction="ltr" align-self="center" width="10px" height="10px"/>
11          <div direction="ltr" align-self="center" width="10px" height="10px"/>
12        </div>
13      </div>
14    </div>
15  </input>
16  <expectations>
17    <node x="0" y="0" width="100" height="100">
18      <node x="0" y="0" width="100" height="100">
19        <node x="0" y="0" width="10" height="10">
20          <node x="0" y="0" width="10" height="10"/>
21        </node>
22        <node x="10" y="0" width="20" height="100">
23          <node x="0" y="45" width="10" height="10"/>
24          <node x="10" y="45" width="10" height="10"/>
25        </node>
26      </node>
27    </node>
28  </expectations>
29</test>