gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Sutichaykuna

⎇ main tests/xml/flex/align_baseline_child_multiline__content_box_rtl.xml HTML · 25 siq'ikuna · 1.2 KB Ñawpa willay ch'uya

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

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