tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Definitions

⎇ devin/1784819829-clamp-overlarge-grids tests/xml/grid/grid_auto_rows__content_box_ltr.xml HTML · 27 lines · 1.2 KB History raw

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

1<test name="grid_auto_rows__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="grid" box-sizing="content-box" direction="ltr" grid-template-rows="40px" grid-template-columns="100px" grid-auto-rows="10px 20px 30px">
5      <div box-sizing="content-box" direction="ltr" grid-row-start="-4"/>
6      <div box-sizing="content-box" direction="ltr"/>
7      <div box-sizing="content-box" direction="ltr"/>
8      <div box-sizing="content-box" direction="ltr"/>
9      <div box-sizing="content-box" direction="ltr"/>
10      <div box-sizing="content-box" direction="ltr"/>
11      <div box-sizing="content-box" direction="ltr"/>
12      <div box-sizing="content-box" direction="ltr"/>
13    </div>
14  </input>
15  <expectations>
16    <node x="0" y="0" width="100" height="180">
17      <node x="0" y="0" width="100" height="20"/>
18      <node x="0" y="20" width="100" height="30"/>
19      <node x="0" y="50" width="100" height="40"/>
20      <node x="0" y="90" width="100" height="10"/>
21      <node x="0" y="100" width="100" height="20"/>
22      <node x="0" y="120" width="100" height="30"/>
23      <node x="0" y="150" width="100" height="10"/>
24      <node x="0" y="160" width="100" height="20"/>
25    </node>
26  </expectations>
27</test>