mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Make Node::BaseURI use the document's base URL
update expectations
This commit is contained in:
parent
ea84601bf0
commit
6ade433196
3 changed files with 1 additions and 9 deletions
|
@ -1865,7 +1865,7 @@ impl NodeMethods for Node {
|
|||
|
||||
// https://dom.spec.whatwg.org/#dom-node-baseuri
|
||||
fn BaseURI(&self) -> DOMString {
|
||||
self.owner_doc().URL()
|
||||
DOMString::from(self.owner_doc().base_url().as_str())
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-node-ownerdocument
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue