aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2015-02-03 15:07:37 +0000
committerJosh Matthews <josh@joshmatthews.net>2015-02-04 13:37:01 +0000
commit03ec5a394c6621b4fcb39b72c17e669320a2708b (patch)
tree67ff7c7bf0e45527512930614aafb6ac5b760f6f /components/script
parent6fd31cdf0f9f78a1f3af6a4fb1f9b318408a71b3 (diff)
downloadservo-03ec5a394c6621b4fcb39b72c17e669320a2708b.tar.gz
servo-03ec5a394c6621b4fcb39b72c17e669320a2708b.zip
Add a spec link.
Diffstat (limited to 'components/script')
-rw-r--r--components/script/dom/document.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index fa8637b374d..3734527bc09 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -209,6 +209,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
self.is_html_document
}
+ // http://dom.spec.whatwg.org/#dom-document-url
fn url(self) -> Url {
self.url.clone()
}