Implement `direction` property (#906)
1<test name="grid_relayout_vertical_text__content_box_ltr" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div display="grid" box-sizing="content-box" direction="ltr" grid-template-rows="40px" grid-template-columns="min-content">
5 <text box-sizing="content-box" direction="ltr" writing-mode="vertical-lr">
6 HHHHHHHHHHHHHH
7 </text>
8 <text box-sizing="content-box" direction="ltr">
9 HHHHHH
10 </text>
11 </div>
12 </input>
13 <expectations>
14 <node x="0" y="0" width="40" height="60">
15 <node x="0" y="0" width="40" height="40"/>
16 <node x="0" y="40" width="40" height="20"/>
17 </node>
18 </expectations>
19</test>