tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definiciones

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

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

1<test name="flex_shrink_to_zero__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="75px">
5      <div box-sizing="content-box" direction="ltr" flex-shrink="0" width="50px" height="50px"/>
6      <div box-sizing="content-box" direction="ltr" width="50px" height="50px"/>
7      <div box-sizing="content-box" direction="ltr" flex-shrink="0" width="50px" height="50px"/>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="75" height="50">
12      <node x="0" y="0" width="50" height="50"/>
13      <node x="50" y="0" width="0" height="50"/>
14      <node x="50" y="0" width="50" height="50"/>
15    </node>
16  </expectations>
17</test>