gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definiciones

⎇ main tests/xml/grid/grid_auto_rows__border_box_ltr.xml HTML · 27 líneas · 1.0 KB Historia crudo

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

1<test name="grid_auto_rows__border_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="grid" direction="ltr" grid-template-rows="40px" grid-template-columns="100px" grid-auto-rows="10px 20px 30px">
5      <div direction="ltr" grid-row-start="-4"/>
6      <div direction="ltr"/>
7      <div direction="ltr"/>
8      <div direction="ltr"/>
9      <div direction="ltr"/>
10      <div direction="ltr"/>
11      <div direction="ltr"/>
12      <div 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>