gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definiciones

⎇ main tests/xml/flex/multiline_min_max_8__content_box_ltr.xml HTML · 19 líneas · 1.1 KB Historia crudo

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

1<test name="multiline_min_max_8__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="flex" box-sizing="content-box" direction="ltr" flex-wrap="wrap" width="600px" height="20px" border-top="5px" border-left="5px" border-bottom="5px" border-right="5px">
5      <div box-sizing="content-box" direction="ltr" flex-grow="1" flex-basis="600px" height="10px" max-width="300px" margin-left="10px"/>
6      <div box-sizing="content-box" direction="ltr" flex-grow="1" width="100px" height="10px"/>
7      <div box-sizing="content-box" direction="ltr" flex-grow="1" width="100px" height="10px"/>
8      <div box-sizing="content-box" direction="ltr" flex-grow="1" width="100px" height="10px"/>
9    </div>
10  </input>
11  <expectations>
12    <node x="0" y="0" width="610" height="30">
13      <node x="15" y="5" width="300" height="10"/>
14      <node x="315" y="5" width="145" height="10"/>
15      <node x="460" y="5" width="145" height="10"/>
16      <node x="5" y="15" width="600" height="10"/>
17    </node>
18  </expectations>
19</test>