tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 229Rust 8TOML 3CSS 1310 Definiciones

⎇ main tests/xml/float/float_simple__content_box_ltr.xml HTML · 21 líneas · 1.1 KB Historia crudo

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

1<test name="float_simple__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="block" box-sizing="content-box" direction="ltr" height="300px" border-top="2px" border-left="2px" border-bottom="2px" border-right="2px">
5      <div box-sizing="content-box" direction="ltr" float="right" width="50px" height="50px"/>
6      <div box-sizing="content-box" direction="ltr" float="right" width="50px" height="50px"/>
7      <div box-sizing="content-box" direction="ltr" float="right" width="50px" height="50px"/>
8      <div box-sizing="content-box" direction="ltr" float="right" width="50px" height="50px"/>
9      <div box-sizing="content-box" direction="ltr" float="right" width="50px" height="50px"/>
10    </div>
11  </input>
12  <expectations>
13    <node x="0" y="0" width="254" height="304">
14      <node x="202" y="2" width="50" height="50"/>
15      <node x="152" y="2" width="50" height="50"/>
16      <node x="102" y="2" width="50" height="50"/>
17      <node x="52" y="2" width="50" height="50"/>
18      <node x="2" y="2" width="50" height="50"/>
19    </node>
20  </expectations>
21</test>