tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definiciones

⎇ main tests/xml/flex/rounding_total_fractial_nested__content_box_rtl.xml HTML · 23 líneas · 1.2 KB Historia crudo

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

1<test name="rounding_total_fractial_nested__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="87.4px" height="113.4px">
5      <div box-sizing="content-box" direction="rtl" flex-direction="column" flex-grow="0.7" flex-basis="50.3px" height="20.3px">
6        <div box-sizing="content-box" direction="rtl" flex-grow="1" flex-basis="0.3px" height="9.9px" bottom="13.3px"/>
7        <div box-sizing="content-box" direction="rtl" flex-grow="4" flex-basis="0.3px" height="1.1px" top="13.3px"/>
8      </div>
9      <div box-sizing="content-box" direction="rtl" flex-grow="1.6" height="10px"/>
10      <div box-sizing="content-box" direction="rtl" flex-grow="1.1" height="10.7px"/>
11    </div>
12  </input>
13  <expectations>
14    <node x="0" y="0" width="87" height="113">
15      <node x="0" y="0" width="87" height="59">
16        <node x="0" y="-13" width="87" height="12"/>
17        <node x="0" y="25" width="87" height="47"/>
18      </node>
19      <node x="0" y="59" width="87" height="30"/>
20      <node x="0" y="89" width="87" height="24"/>
21    </node>
22  </expectations>
23</test>