mirror of
https://github.com/servo/servo.git
synced 2025-06-21 07:38:59 +01:00
Implement document.URL & document.documentURI
Specs: http://dom.spec.whatwg.org/#dom-document-url http://dom.spec.whatwg.org/#dom-document-documenturi This is a sub-task for #1428.
This commit is contained in:
parent
0777f211df
commit
43416ef91f
7 changed files with 64 additions and 14 deletions
|
@ -38,7 +38,7 @@ impl DOMParser {
|
|||
-> Fallible<AbstractDocument> {
|
||||
match ty {
|
||||
Text_html => {
|
||||
Ok(HTMLDocument::new(self.owner))
|
||||
Ok(HTMLDocument::new(self.owner, None))
|
||||
}
|
||||
Text_xml => {
|
||||
Document::Constructor(self.owner)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue