Implement `direction` property (#906)
1<test name="display_none_only_node__content_box_rtl" use-rounding="true">
2 <viewport width="max-content" height="max-content"/>
3 <input>
4 <div display="none" box-sizing="content-box" direction="rtl" width="100px" height="100px"/>
5 </input>
6 <expectations>
7 <node x="0" y="0" width="0" height="0"/>
8 </expectations>
9</test>