tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definiciones

⎇ main tests/xml/flex/percent_within_flex_grow__content_box_ltr.xml HTML · 21 líneas · 876 B Historia crudo

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

1<test name="percent_within_flex_grow__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div box-sizing="content-box" direction="ltr" width="350px" height="100px">
5      <div box-sizing="content-box" direction="ltr" width="100px"/>
6      <div box-sizing="content-box" direction="ltr" flex-direction="column" flex-grow="1">
7        <div box-sizing="content-box" direction="ltr" width="100%"/>
8      </div>
9      <div box-sizing="content-box" direction="ltr" width="100px"/>
10    </div>
11  </input>
12  <expectations>
13    <node x="0" y="0" width="350" height="100">
14      <node x="0" y="0" width="100" height="100"/>
15      <node x="100" y="0" width="150" height="100">
16        <node x="0" y="0" width="150" height="0"/>
17      </node>
18      <node x="250" y="0" width="100" height="100"/>
19    </node>
20  </expectations>
21</test>