auto merge of #5321 : frewsxcv/servo/patch-1, r=Ms2ger

This commit is contained in:
bors-servo 2015-03-23 07:57:50 -06:00
commit ca79abe458

View file

@ -1106,6 +1106,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
TreeWalker::new(self, root, whatToShow, filter) TreeWalker::new(self, root, whatToShow, filter)
} }
// TODO: Support root SVG namespace: https://github.com/servo/servo/issues/5315
// http://www.whatwg.org/specs/web-apps/current-work/#document.title // http://www.whatwg.org/specs/web-apps/current-work/#document.title
fn Title(self) -> DOMString { fn Title(self) -> DOMString {
let mut title = String::new(); let mut title = String::new();
@ -1127,6 +1128,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
v.connect(" ") v.connect(" ")
} }
// TODO: Support root SVG namespace: https://github.com/servo/servo/issues/5315
// http://www.whatwg.org/specs/web-apps/current-work/#document.title // http://www.whatwg.org/specs/web-apps/current-work/#document.title
fn SetTitle(self, title: DOMString) -> ErrorResult { fn SetTitle(self, title: DOMString) -> ErrorResult {
self.GetDocumentElement().root().map(|root| { self.GetDocumentElement().root().map(|root| {