Implement `direction` property (#906)
1<test name="float_simple__content_box_rtl" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div display="block" box-sizing="content-box" direction="rtl" height="300px" border-top="2px" border-left="2px" border-bottom="2px" border-right="2px">
5 <div box-sizing="content-box" direction="rtl" float="right" width="50px" height="50px"/>
6 <div box-sizing="content-box" direction="rtl" float="right" width="50px" height="50px"/>
7 <div box-sizing="content-box" direction="rtl" float="right" width="50px" height="50px"/>
8 <div box-sizing="content-box" direction="rtl" float="right" width="50px" height="50px"/>
9 <div box-sizing="content-box" direction="rtl" float="right" width="50px" height="50px"/>
10 </div>
11 </input>
12 <expectations>
13 <node x="0" y="0" width="254" height="304">
14 <node x="202" y="2" width="50" height="50"/>
15 <node x="152" y="2" width="50" height="50"/>
16 <node x="102" y="2" width="50" height="50"/>
17 <node x="52" y="2" width="50" height="50"/>
18 <node x="2" y="2" width="50" height="50"/>
19 </node>
20 </expectations>
21</test>