tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Definitions

⎇ devin/1784869041-flex-baseline-container tests/xml/grid/grid_columns_rtl__content_box_rtl.xml HTML · 17 lines · 730 B History raw

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

1<test name="grid_columns_rtl__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="grid" box-sizing="content-box" direction="rtl" width="100px" grid-template-columns="20px 40px 10px">
5      <div box-sizing="content-box" direction="rtl" height="10px"/>
6      <div box-sizing="content-box" direction="rtl" height="10px"/>
7      <div box-sizing="content-box" direction="rtl" height="10px"/>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="100" height="10">
12      <node x="80" y="0" width="20" height="10"/>
13      <node x="40" y="0" width="40" height="10"/>
14      <node x="30" y="0" width="10" height="10"/>
15    </node>
16  </expectations>
17</test>