gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 501HTML 254C 19JavaScript 81412 Definiciones

⎇ main tests/xml/block/block_align_content_center__content_box_rtl.xml HTML · 17 líneas · 783 B Historia crudo

feat(block): support `align-content` along the block axis (#959) dcdb0ede8 · Ritesh ·

1<test name="block_align_content_center__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="block" box-sizing="content-box" direction="rtl" align-content="center" width="100px" height="120px">
5      <div box-sizing="content-box" direction="rtl" width="50px" height="20px"/>
6      <div box-sizing="content-box" direction="rtl" width="50px" height="20px"/>
7      <div box-sizing="content-box" direction="rtl" width="50px" height="20px"/>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="100" height="120">
12      <node x="50" y="30" width="50" height="20"/>
13      <node x="50" y="50" width="50" height="20"/>
14      <node x="50" y="70" width="50" height="20"/>
15    </node>
16  </expectations>
17</test>