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