mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #9328 - frewsxcv:window-broken-link, r=jdm
Fix broken spec link on Window::Document <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9328) <!-- Reviewable:end -->
This commit is contained in:
commit
c7e8641174
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();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-document-0
|
||||
// https://html.spec.whatwg.org/multipage/#dom-document-2
|
||||
fn Document(&self) -> Root<Document> {
|
||||
Root::from_ref(self.browsing_context().as_ref().unwrap().active_document())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue