Implement `direction` property (#906)
1<test name="align_baseline_child_multiline__content_box_rtl" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div box-sizing="content-box" direction="rtl" align-items="baseline" width="100px">
5 <div box-sizing="content-box" direction="rtl" width="50px" height="60px"/>
6 <div box-sizing="content-box" direction="rtl" flex-wrap="wrap" width="50px">
7 <div box-sizing="content-box" direction="rtl" width="25px" height="20px"/>
8 <div box-sizing="content-box" direction="rtl" width="25px" height="10px"/>
9 <div box-sizing="content-box" direction="rtl" width="25px" height="20px"/>
10 <div box-sizing="content-box" direction="rtl" width="25px" height="10px"/>
11 </div>
12 </div>
13 </input>
14 <expectations>
15 <node x="0" y="0" width="100" height="80">
16 <node x="50" y="0" width="50" height="60"/>
17 <node x="0" y="40" width="50" height="40">
18 <node x="25" y="0" width="25" height="20"/>
19 <node x="0" y="0" width="25" height="10"/>
20 <node x="25" y="20" width="25" height="20"/>
21 <node x="0" y="20" width="25" height="10"/>
22 </node>
23 </node>
24 </expectations>
25</test>