fn is_element_in_view( element: &Element, paint_tree: &[DomRoot<Element>], ) -> bool
https://w3c.github.io/webdriver/#dfn-in-view