mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Fix broken spec link on Window::Document
This commit is contained in:
parent
d28fb42201
commit
f6dc6ad463
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ impl WindowMethods for Window {
|
||||||
self.main_thread_script_chan().send(MainThreadScriptMsg::ExitWindow(self.id.clone())).unwrap();
|
self.main_thread_script_chan().send(MainThreadScriptMsg::ExitWindow(self.id.clone())).unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-document-0
|
// https://html.spec.whatwg.org/multipage/#dom-document-2
|
||||||
fn Document(&self) -> Root<Document> {
|
fn Document(&self) -> Root<Document> {
|
||||||
Root::from_ref(self.browsing_context().as_ref().unwrap().active_document())
|
Root::from_ref(self.browsing_context().as_ref().unwrap().active_document())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue