[whatwg] [WA1] Audio and relative URIs
ian at hixie.ch
Mon Aug 6 21:22:39 PDT 2007
On Mon, 6 Aug 2007, Anne van Kesteren wrote:
> On Mon, 06 Aug 2007 08:37:04 +0200, Devi Web Development
> <devi.webmaster at gmail.com> wrote:
> > On 8/3/07, Ian Hickson <ian at hixie.ch> wrote:
> > > On Tue, 19 Jul 2005, Christian Biesinger wrote:
> > > > > 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.
> Yes, but window.location.href does not. It probably makes sense to make it
> work exactly like:
> var i = new Image()
> i.src = url
...which, as I noted in the e-mail quoted above (though it was cut off
from the quotes above) is what the spec now does.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg