mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update some URLs.
The HTML spec's division into pages is not stable, so it is safer to use the URL without a specific page (which will redirect).
This commit is contained in:
parent
4997d3a112
commit
49393a8762
19 changed files with 146 additions and 146 deletions
|
@ -29,7 +29,7 @@ pub trait Activatable : Copy {
|
|||
// https://html.spec.whatwg.org/multipage/interaction.html#run-post-click-activation-steps
|
||||
fn activation_behavior(&self, event: JSRef<Event>, target: JSRef<EventTarget>);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#implicit-submission
|
||||
// https://html.spec.whatwg.org/multipage/#implicit-submission
|
||||
fn implicit_submission(&self, ctrlKey: bool, shiftKey: bool, altKey: bool, metaKey: bool);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#run-synthetic-click-activation-steps
|
||||
|
@ -45,7 +45,7 @@ pub trait Activatable : Copy {
|
|||
self.pre_click_activation();
|
||||
|
||||
// Step 4
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#fire-a-synthetic-mouse-event
|
||||
// https://html.spec.whatwg.org/multipage/#fire-a-synthetic-mouse-event
|
||||
let win = window_from_node(element.r()).root();
|
||||
let target: JSRef<EventTarget> = EventTargetCast::from_ref(element.r());
|
||||
let mouse = MouseEvent::new(win.r(), "click".to_owned(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue