mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Don't link to specific WHATWG multipage page
"Links to the multipage version of the specification are unfortunately likely to break over time." -- https://html.spec.whatwg.org/multipage/asefij.html This commit removes all references to the specific pages when viewing WHATWG using multipage mode. I went through all these links and they redirect fine. Regex used to generate this commit: `s_whatwg.org/multipage/.*#_whatwg.org/multipage/#_g`
This commit is contained in:
parent
4fd4370a96
commit
8b08c6f43f
24 changed files with 57 additions and 57 deletions
|
@ -107,16 +107,16 @@ impl<'a> Activatable for JSRef<'a, HTMLAnchorElement> {
|
|||
}
|
||||
|
||||
|
||||
//TODO:https://html.spec.whatwg.org/multipage/semantics.html#the-a-element
|
||||
//TODO:https://html.spec.whatwg.org/multipage/#the-a-element
|
||||
fn pre_click_activation(&self) {
|
||||
}
|
||||
|
||||
//TODO:https://html.spec.whatwg.org/multipage/semantics.html#the-a-element
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#run-canceled-activation-steps
|
||||
//TODO:https://html.spec.whatwg.org/multipage/#the-a-element
|
||||
// https://html.spec.whatwg.org/multipage/#run-canceled-activation-steps
|
||||
fn canceled_activation(&self) {
|
||||
}
|
||||
|
||||
//https://html.spec.whatwg.org/multipage/semantics.html#the-a-element:activation-behaviour
|
||||
//https://html.spec.whatwg.org/multipage/#the-a-element:activation-behaviour
|
||||
fn activation_behavior(&self, event: JSRef<Event>, target: JSRef<EventTarget>) {
|
||||
//Step 1. If the node document is not fully active, abort.
|
||||
let doc = document_from_node(*self).root();
|
||||
|
@ -153,7 +153,7 @@ impl<'a> Activatable for JSRef<'a, HTMLAnchorElement> {
|
|||
}
|
||||
}
|
||||
|
||||
//TODO:https://html.spec.whatwg.org/multipage/semantics.html#the-a-element
|
||||
//TODO:https://html.spec.whatwg.org/multipage/#the-a-element
|
||||
fn implicit_submission(&self, _ctrlKey: bool, _shiftKey: bool, _altKey: bool, _metaKey: bool) {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue