tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 788HTML 740Markdown 12TOML 62536 Definitions

⎇ devin/1784923726-flow-root tests/xml/blockflex/blockflex_overflow_hidden__content_box_rtl.xml HTML · 19 lines · 787 B History raw

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

1<test name="blockflex_overflow_hidden__content_box_rtl" use-rounding="true">
2  <viewport width="max-content" height="max-content"/>
3  <input>
4    <div display="flex" box-sizing="content-box" direction="rtl" width="20px" height="50px">
5      <text display="block" box-sizing="content-box" direction="rtl" overflow-x="hidden" overflow-y="hidden" scrollbar-width="15" flex-grow="1">
6        HHHH​HH
7      </text>
8      <text display="block" box-sizing="content-box" direction="rtl" flex-grow="1">
9        HHHH​HH
10      </text>
11    </div>
12  </input>
13  <expectations>
14    <node x="0" y="0" width="20" height="50">
15      <node x="20" y="0" width="0" height="50" scroll_width="40" scroll_height="0"/>
16      <node x="-20" y="0" width="40" height="50"/>
17    </node>
18  </expectations>
19</test>