Implement `direction` property (#906)
1<test name="margin_auto_bottom__border_box_rtl" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div direction="rtl" align-items="center" width="200px" height="200px">
5 <div direction="rtl" width="50px" height="50px" margin-bottom="auto"/>
6 <div direction="rtl" width="50px" height="50px"/>
7 </div>
8 </input>
9 <expectations>
10 <node x="0" y="0" width="200" height="200">
11 <node x="150" y="0" width="50" height="50"/>
12 <node x="100" y="75" width="50" height="50"/>
13 </node>
14 </expectations>
15</test>