tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 788HTML 740Markdown 12TOML 62535 Definiciones

⎇ devin/1784923726-flow-root tests/xml/flex/taffy_issue_696__content_box_ltr.xml HTML · 17 líneas · 903 B Historia crudo

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

1<test name="taffy_issue_696__content_box_ltr" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="flex" box-sizing="content-box" direction="ltr" flex-direction="column" width="200px">
5      <div display="flex" box-sizing="content-box" direction="ltr" 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="ltr" 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>