[Bug 20976] Define Node.baseURI properly

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

--- Comment #26 from Elliott Sprehn <esprehn@gmail.com> ---
(In reply to Adam Klein from comment #23)
> Reviving this thread as I've been working on implementing this in Blink.
> 
> (In reply to Elliott Sprehn from comment #20)
> > root.baseURI = "http://foo/"
> > img1.src = "a.png";
> > root.appendChild(img1);
> > root.baseURI = "http://bar/"
> > img2.src = "b.png";
> > root.appendChild(img2);
> > 
> > img1.src == "http://foo/a.png"
> > img2.src == "http://bar/b.png"
> 
> I'm not sure this example works correctly. [...]

Yeah I fumbled my example, you need to appendChild() first before assigning the
src.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 16 January 2014 21:39:58 UTC