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