gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 501HTML 254C 19JavaScript 81412 Definiciones

⎇ main tests/xml/grid/grid_basic_with_overflow__content_box_ltr.xml HTML · 31 líneas · 1.4 KB Historia crudo

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

1<test name="grid_basic_with_overflow__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="120px" height="120px" grid-template-rows="40px 40px 40px" grid-template-columns="40px 40px 40px">
5      <div box-sizing="content-box" direction="ltr"/>
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 box-sizing="content-box" direction="ltr"/>
14      <div box-sizing="content-box" direction="ltr"/>
15    </div>
16  </input>
17  <expectations>
18    <node x="0" y="0" width="120" height="120">
19      <node x="0" y="0" width="40" height="40"/>
20      <node x="40" y="0" width="40" height="40"/>
21      <node x="80" y="0" width="40" height="40"/>
22      <node x="0" y="40" width="40" height="40"/>
23      <node x="40" y="40" width="40" height="40"/>
24      <node x="80" y="40" width="40" height="40"/>
25      <node x="0" y="80" width="40" height="40"/>
26      <node x="40" y="80" width="40" height="40"/>
27      <node x="80" y="80" width="40" height="40"/>
28      <node x="0" y="120" width="40" height="0"/>
29    </node>
30  </expectations>
31</test>