[whatwg] [WA1] Audio and relative URIs

Devi Web Development devi.webmaster at gmail.com
Sun Aug 5 23:37:04 PDT 2007


On 8/3/07, Ian Hickson <ian at hixie.ch> wrote:
> On Tue, 19 Jul 2005, Christian Biesinger wrote:
> >
> > the section on Audio,
> http://whatwg.org/specs/web-apps/current-work/#sound,
> > says:
> > > The Audio() constructor takes a single argument, a URI (or IRI), which
> > > is resolved using the script context's window.location.href
> >
> > Does this mean that a possible <base href> should indeed be ignored here?

I don't see why this should ignore the base tag. I would expect it to
use document.baseURI as described in

http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407#core-Node3-baseURI

which takes into account the <base href=""/> tag.

-------------------------------------------
Devi Web Development
Devi.WebMaster at gMail.com



More information about the whatwg mailing list