tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 499HTML 245JavaScript 8Markdown 71218 Definitions

⎇ main tests/xml/grid/grid_basic_implicit_tracks__content_box_ltr.xml HTML · 15 lines · 621 B History raw

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

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