tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definiciones

⎇ main tests/xml/flex/align_baseline_multiline__content_box_ltr.xml HTML · 27 líneas · 1.2 KB Historia crudo

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

1<test name="align_baseline_multiline__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div box-sizing="content-box" direction="ltr" flex-wrap="wrap" align-items="baseline" width="100px" height="100px">
5      <div box-sizing="content-box" direction="ltr" width="50px" height="50px"/>
6      <div box-sizing="content-box" direction="ltr" flex-direction="column" width="50px" height="20px">
7        <div box-sizing="content-box" direction="ltr" width="50px" height="10px"/>
8      </div>
9      <div box-sizing="content-box" direction="ltr" flex-direction="column" width="50px" height="20px">
10        <div box-sizing="content-box" direction="ltr" width="50px" height="10px"/>
11      </div>
12      <div box-sizing="content-box" direction="ltr" width="50px" height="50px"/>
13    </div>
14  </input>
15  <expectations>
16    <node x="0" y="0" width="100" height="100">
17      <node x="0" y="0" width="50" height="50"/>
18      <node x="50" y="40" width="50" height="20">
19        <node x="0" y="0" width="50" height="10"/>
20      </node>
21      <node x="0" y="100" width="50" height="20">
22        <node x="0" y="0" width="50" height="10"/>
23      </node>
24      <node x="50" y="60" width="50" height="50"/>
25    </node>
26  </expectations>
27</test>