gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definitions

⎇ main tests/xml/flex/taffy_issue_696__border_box_rtl.xml HTML · 17 lines · 827 B History raw

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

1<test name="taffy_issue_696__border_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="flex" direction="rtl" flex-direction="column" width="200px">
5      <div display="flex" direction="rtl" flex-direction="column" overflow-x="hidden" overflow-y="hidden" scrollbar-width="15" flex-basis="0px" min-height="100px" padding-top="20px" padding-left="20px" padding-bottom="20px" padding-right="20px">
6        <div display="flex" direction="rtl" flex-shrink="0" height="200px"/>
7      </div>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="200" height="100">
12      <node x="0" y="0" width="200" height="100" scroll_width="0" scroll_height="140">
13        <node x="20" y="20" width="160" height="200"/>
14      </node>
15    </node>
16  </expectations>
17</test>