gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definiciones

⎇ main tests/xml/grid/grid_align_items_baseline__content_box_rtl.xml HTML · 15 líneas · 678 B Historia crudo

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

1<test name="grid_align_items_baseline__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" align-items="baseline" width="100px" height="100px">
5      <div display="grid" box-sizing="content-box" direction="rtl" width="50px" height="50px"/>
6      <div display="grid" box-sizing="content-box" direction="rtl" width="50px" height="20px"/>
7    </div>
8  </input>
9  <expectations>
10    <node x="0" y="0" width="100" height="100">
11      <node x="50" y="0" width="50" height="50"/>
12      <node x="50" y="65" width="50" height="20"/>
13    </node>
14  </expectations>
15</test>