- From: ArkadiuszMichalski <notifications@github.com>
- Date: Tue, 08 Dec 2015 16:30:57 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Wednesday, 9 December 2015 00:31:28 UTC
The same story is for `Node.baseURI` (https://dom.spec.whatwg.org/#dom-node-baseuri). Bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=20976 was closed, so I ask here: nullable for this attribute is necessary? Value for document's base URL is some URL (https://dom.spec.whatwg.org/#concept-document-base-url), and default value is "about:blank". Is there any mechanisms that set and return null value for `Node.baseURI`? I test this behaviour in some methods that create new document (without touching parser HTML/XML) and see: - Firefox always return `about:blank` what is correct per actual spec - Chrome and Opera (Presto) always return null what is correct per older spec (but the same happen for `Document.URL` and `Document.documentURI`). Sometimes Chrome can produce correct result and return `about:blank`, for example when we create new IFRAME element, before loading any resources. - IE11 doesn't support `Node.baseURI` --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/118#issuecomment-163066747
Received on Wednesday, 9 December 2015 00:31:28 UTC