Implement `direction` property (#906)
1<test name="block_inset_direction_rtl__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" width="100px" height="100px">
5 <div box-sizing="content-box" direction="rtl" width="40px" height="20px" left="10px"/>
6 <div box-sizing="content-box" direction="rtl" width="40px" height="20px" right="10px"/>
7 </div>
8 </input>
9 <expectations>
10 <node x="0" y="0" width="100" height="100">
11 <node x="70" y="0" width="40" height="20"/>
12 <node x="50" y="20" width="40" height="20"/>
13 </node>
14 </expectations>
15</test>