mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
cargo: Bump rustc to 1.89 (#36818)
Update Rustc to 1.89. Reviewable by commit. Leftover work: - #37330 - #38777 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
8587536755
commit
3225d19907
126 changed files with 408 additions and 610 deletions
|
@ -1974,11 +1974,9 @@ fn is_element_in_view(element: &Element, paint_tree: &[DomRoot<Element>]) -> boo
|
|||
// https://w3c.github.io/webdriver/#dfn-pointer-events-are-not-disabled
|
||||
// An element is said to have pointer events disabled
|
||||
// if the resolved value of its "pointer-events" style property is "none".
|
||||
let pointer_events_not_disabled = element
|
||||
element
|
||||
.style()
|
||||
.is_none_or(|style| style.get_inherited_ui().pointer_events != PointerEvents::None);
|
||||
|
||||
pointer_events_not_disabled
|
||||
.is_none_or(|style| style.get_inherited_ui().pointer_events != PointerEvents::None)
|
||||
}
|
||||
|
||||
/// <https://w3c.github.io/webdriver/#dfn-pointer-interactable-paint-tree>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue