gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definiciones

⎇ main tests/xml/flex/taffy_issue_696__content_box_rtl.xml HTML · 17 líneas · 903 B Historia crudo

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

1<test name="taffy_issue_696__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="flex" box-sizing="content-box" direction="rtl" flex-direction="column" width="200px">
5      <div display="flex" box-sizing="content-box" 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" box-sizing="content-box" direction="rtl" flex-shrink="0" height="200px"/>
7      </div>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="200" height="140">
12      <node x="0" y="0" width="200" height="140" scroll_width="0" scroll_height="100">
13        <node x="20" y="20" width="160" height="200"/>
14      </node>
15    </node>
16  </expectations>
17</test>