Implement `direction` property (#906)
1<test name="block_item_max_width__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" width="200px" height="200px">
5 <div box-sizing="content-box" direction="ltr" height="50px" max-width="100px"/>
6 <div box-sizing="content-box" direction="ltr" height="50px" max-width="300px"/>
7 </div>
8 </input>
9 <expectations>
10 <node x="0" y="0" width="200" height="200">
11 <node x="0" y="0" width="100" height="50"/>
12 <node x="0" y="50" width="200" height="50"/>
13 </node>
14 </expectations>
15</test>