Implement `direction` property (#906)
1<test name="border_center_child__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="center" justify-content="center" width="100px" height="100px" border-top="10px" border-bottom="20px">
5 <div box-sizing="content-box" direction="rtl" width="10px" height="10px"/>
6 </div>
7 </input>
8 <expectations>
9 <node x="0" y="0" width="100" height="130">
10 <node x="45" y="55" width="10" height="10"/>
11 </node>
12 </expectations>
13</test>