mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove intrinsic Root::r()
This commit is contained in:
parent
51bcf516c8
commit
0b3ab875f4
55 changed files with 275 additions and 310 deletions
|
@ -83,11 +83,11 @@ pub fn synthetic_click_activation(element: &Element,
|
|||
// https://html.spec.whatwg.org/multipage/#fire-a-synthetic-mouse-event
|
||||
let win = window_from_node(element);
|
||||
let target = element.upcast::<EventTarget>();
|
||||
let mouse = MouseEvent::new(win.r(),
|
||||
let mouse = MouseEvent::new(&win,
|
||||
DOMString::from("click"),
|
||||
EventBubbles::DoesNotBubble,
|
||||
EventCancelable::NotCancelable,
|
||||
Some(win.r()),
|
||||
Some(&win),
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue