mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Replace usage of old-style WHATWG spec links
This commit is contained in:
parent
9cccd98254
commit
85f2b6fc5b
96 changed files with 149 additions and 150 deletions
|
@ -47,7 +47,7 @@ impl HTMLTitleElement {
|
|||
}
|
||||
|
||||
impl HTMLTitleElementMethods for HTMLTitleElement {
|
||||
// https://www.whatwg.org/html/#dom-title-text
|
||||
// https://html.spec.whatwg.org/multipage#dom-title-text
|
||||
fn Text(&self) -> DOMString {
|
||||
let node = NodeCast::from_ref(self);
|
||||
let mut content = String::new();
|
||||
|
@ -61,7 +61,7 @@ impl HTMLTitleElementMethods for HTMLTitleElement {
|
|||
content
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-title-text
|
||||
// https://html.spec.whatwg.org/multipage#dom-title-text
|
||||
fn SetText(&self, value: DOMString) {
|
||||
let node = NodeCast::from_ref(self);
|
||||
node.SetTextContent(Some(value))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue