Implement `direction` property (#906)
1<test name="padding_align_end_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="flex-end" justify-content="flex-end" width="200px" height="200px">
5 <div box-sizing="content-box" direction="rtl" width="100px" height="100px" padding-top="20px" padding-left="20px" padding-bottom="20px" padding-right="20px"/>
6 </div>
7 </input>
8 <expectations>
9 <node x="0" y="0" width="200" height="200">
10 <node x="0" y="60" width="140" height="140"/>
11 </node>
12 </expectations>
13</test>