gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definiciones

⎇ main tests/xml/flex/flex_direction_column__border_box_ltr.xml HTML · 17 líneas · 622 B Historia crudo

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

1<test name="flex_direction_column__border_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div direction="ltr" flex-direction="column" width="100px" height="100px">
5      <div direction="ltr" height="10px"/>
6      <div direction="ltr" height="10px"/>
7      <div direction="ltr" height="10px"/>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="100" height="100">
12      <node x="0" y="0" width="100" height="10"/>
13      <node x="0" y="10" width="100" height="10"/>
14      <node x="0" y="20" width="100" height="10"/>
15    </node>
16  </expectations>
17</test>