tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 788HTML 740Markdown 12TOML 62536 Definitions

⎇ main tests/xml/flex/nested_overflowing_child__content_box_ltr.xml HTML · 17 lines · 614 B History raw

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

1<test name="nested_overflowing_child__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div box-sizing="content-box" direction="ltr" width="100px" height="100px">
5      <div box-sizing="content-box" direction="ltr">
6        <div box-sizing="content-box" direction="ltr" width="200px" height="200px"/>
7      </div>
8    </div>
9  </input>
10  <expectations>
11    <node x="0" y="0" width="100" height="100">
12      <node x="0" y="0" width="200" height="100">
13        <node x="0" y="0" width="200" height="200"/>
14      </node>
15    </node>
16  </expectations>
17</test>