mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
auto merge of #5321 : frewsxcv/servo/patch-1, r=Ms2ger
This commit is contained in:
commit
ca79abe458
1 changed files with 2 additions and 0 deletions
|
@ -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| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue