Implement `direction` property (#906)
1<test name="scroll_size__content_box_rtl" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div box-sizing="content-box" direction="rtl" overflow-x="scroll" overflow-y="scroll" scrollbar-width="15" align-items="start" justify-content="start" width="50px" height="50px">
5 <div box-sizing="content-box" direction="rtl" flex-shrink="0" width="100px" height="100px"/>
6 </div>
7 </input>
8 <expectations>
9 <node x="0" y="0" width="50" height="50" scroll_width="65" scroll_height="65">
10 <node x="-50" y="0" width="100" height="100"/>
11 </node>
12 </expectations>
13</test>