Implement `direction` property (#906)
1<test name="flex_nested_direction_rtl__content_box_ltr" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div box-sizing="content-box" direction="rtl" width="200px" height="100px">
5 <div box-sizing="content-box" direction="ltr" width="100px">
6 <div box-sizing="content-box" direction="ltr" width="50px" height="20px"/>
7 </div>
8 </div>
9 </input>
10 <expectations>
11 <node x="0" y="0" width="200" height="100">
12 <node x="100" y="0" width="100" height="100">
13 <node x="0" y="0" width="50" height="20"/>
14 </node>
15 </node>
16 </expectations>
17</test>