[Bug 16155] Specify behavior for embedded content elements that have no browsing context

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16155

--- Comment #2 from Dimitri Glazkov <dglazkov@chromium.org> 2012-03-01 17:23:18 UTC ---
(In reply to comment #1)
> There is absolutely a document url; I don't see how there could not be.  There
> is always a document url.

Maybe this just need to be fleshed out in the DOM4 spec, but as of now, the URL
is not set for document when creating it using
DOMImplementation.createHTMLDocument:

http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domimplementation-createhtmldocument

WebKit in this case provides an empty URL (which seems in line with the spec):

http://jsfiddle.net/dglazkov/9pESJ/1/

Gecko returns "about:blank".

IE9 returns the main document URL.

> 
> I believe we should simply define all of these elements to not do any fetches
> while their ownerDocument has no defaultView.

Sure, that sounds good too.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 1 March 2012 17:23:26 UTC