tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 501HTML 254C 19JavaScript 81412 Definitions

⎇ devin/1784923726-flow-root tests/xml/flex/align_content_end__content_box_rtl.xml HTML · 21 lines · 1.0 KB History raw

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

1<test name="align_content_end__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div box-sizing="content-box" direction="rtl" flex-direction="column" flex-wrap="wrap" align-content="end" width="100px" height="100px">
5      <div box-sizing="content-box" direction="rtl" width="50px" height="10px"/>
6      <div box-sizing="content-box" direction="rtl" width="50px" height="10px"/>
7      <div box-sizing="content-box" direction="rtl" width="50px" height="10px"/>
8      <div box-sizing="content-box" direction="rtl" width="50px" height="10px"/>
9      <div box-sizing="content-box" direction="rtl" width="50px" height="10px"/>
10    </div>
11  </input>
12  <expectations>
13    <node x="0" y="0" width="100" height="100">
14      <node x="0" y="0" width="50" height="10"/>
15      <node x="0" y="10" width="50" height="10"/>
16      <node x="0" y="20" width="50" height="10"/>
17      <node x="0" y="30" width="50" height="10"/>
18      <node x="0" y="40" width="50" height="10"/>
19    </node>
20  </expectations>
21</test>