mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Explicitly place '/' before fragment for multipage spec links
This prevents us from 301 redirecting, which could cause the fragment to get lost
This commit is contained in:
parent
85f2b6fc5b
commit
9b68d715de
97 changed files with 152 additions and 152 deletions
|
@ -52,7 +52,7 @@ impl HTMLFieldSetElement {
|
|||
}
|
||||
|
||||
impl HTMLFieldSetElementMethods for HTMLFieldSetElement {
|
||||
// https://html.spec.whatwg.org/multipage#dom-fieldset-elements
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fieldset-elements
|
||||
fn Elements(&self) -> Root<HTMLCollection> {
|
||||
#[derive(JSTraceable, HeapSizeOf)]
|
||||
struct ElementsFilter;
|
||||
|
@ -75,13 +75,13 @@ impl HTMLFieldSetElementMethods for HTMLFieldSetElement {
|
|||
ValidityState::new(window.r())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage#dom-fieldset-disabled
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fieldset-disabled
|
||||
make_bool_getter!(Disabled);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage#dom-fieldset-disabled
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fieldset-disabled
|
||||
make_bool_setter!(SetDisabled, "disabled");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage#dom-fae-form
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fae-form
|
||||
fn GetForm(&self) -> Option<Root<HTMLFormElement>> {
|
||||
self.form_owner()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue