gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91841 Sutichaykuna

⎇ main tests/xml/grid/grid_placement_definite_primary__content_box_ltr.xml HTML · 21 siq'ikuna · 1.0 KB Ñawpa willay ch'uya

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

1<test name="grid_placement_definite_primary__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" width="200px" height="200px" grid-template-columns="33% 74%">
5      <div box-sizing="content-box" direction="ltr" grid-column-start="1"/>
6      <div box-sizing="content-box" direction="ltr" grid-column-start="2"/>
7      <div box-sizing="content-box" direction="ltr" grid-column-start="1"/>
8      <div box-sizing="content-box" direction="ltr" grid-column-start="2"/>
9      <div box-sizing="content-box" direction="ltr" grid-column-start="1"/>
10    </div>
11  </input>
12  <expectations>
13    <node x="0" y="0" width="200" height="200">
14      <node x="0" y="0" width="66" height="67"/>
15      <node x="66" y="0" width="148" height="67"/>
16      <node x="0" y="67" width="66" height="66"/>
17      <node x="66" y="67" width="148" height="66"/>
18      <node x="0" y="133" width="66" height="67"/>
19    </node>
20  </expectations>
21</test>