gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 684HTML 640Markdown 12TOML 62286 Definiciones

⎇ main tests/xml/flex/margin_and_flex_column__content_box_rtl.xml HTML · 13 líneas · 526 B Historia crudo

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

1<test name="margin_and_flex_column__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" width="100px" height="100px">
5      <div box-sizing="content-box" direction="rtl" flex-grow="1" margin-top="10px" margin-bottom="10px"/>
6    </div>
7  </input>
8  <expectations>
9    <node x="0" y="0" width="100" height="100">
10      <node x="0" y="10" width="100" height="80"/>
11    </node>
12  </expectations>
13</test>