Implement `direction` property (#906)
1<test name="grid_repeat_integer__border_box_rtl" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div display="grid" direction="rtl" width="120px" height="120px" grid-template-rows="repeat(3, 40px)" grid-template-columns="repeat(3, 40px)">
5 <div direction="rtl"/>
6 <div direction="rtl"/>
7 <div direction="rtl"/>
8 <div direction="rtl"/>
9 <div direction="rtl"/>
10 <div direction="rtl"/>
11 <div direction="rtl"/>
12 <div direction="rtl"/>
13 <div direction="rtl"/>
14 </div>
15 </input>
16 <expectations>
17 <node x="0" y="0" width="120" height="120">
18 <node x="80" y="0" width="40" height="40"/>
19 <node x="40" y="0" width="40" height="40"/>
20 <node x="0" y="0" width="40" height="40"/>
21 <node x="80" y="40" width="40" height="40"/>
22 <node x="40" y="40" width="40" height="40"/>
23 <node x="0" y="40" width="40" height="40"/>
24 <node x="80" y="80" width="40" height="40"/>
25 <node x="40" y="80" width="40" height="40"/>
26 <node x="0" y="80" width="40" height="40"/>
27 </node>
28 </expectations>
29</test>