Implement `direction` property (#906)
1<test name="wrap_grandchild__content_box_rtl" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div box-sizing="content-box" direction="rtl">
5 <div box-sizing="content-box" direction="rtl">
6 <div box-sizing="content-box" direction="rtl" width="100px" height="100px"/>
7 </div>
8 </div>
9 </input>
10 <expectations>
11 <node x="0" y="0" width="100" height="100">
12 <node x="0" y="0" width="100" height="100">
13 <node x="0" y="0" width="100" height="100"/>
14 </node>
15 </node>
16 </expectations>
17</test>