Re: [whatwg] details == footnote ?

2007-08-03 Thread Ian Hickson
On Tue, 24 Apr 2007, Elliotte Harold wrote: > > Is the details element a generalization of footnotes/endnotes? For > instance would it be appropriate to render a details element as a > footnote or endnote? Would it be appropriate to encode a footnote or > endnote as a details element in which th

Re: [whatwg] members

2007-08-03 Thread Ian Hickson
On Wed, 21 Feb 2007, Anne van Kesteren wrote: > On Tue, 20 Feb 2007 21:01:14 +0100, Ian Hickson <[EMAIL PROTECTED]> wrote: > > > I think it would be more consistent to have .defaultOpen besides .open > > > to reflect the content attribute. .open would then reflect the current > > > state. Consisten

Re: [whatwg] Video

2007-08-03 Thread Ian Hickson
On Mon, 30 Oct 2006, Charles Iliya Krempeaux wrote: > > I guess I wasn't paying attention when the Audio interface was being > discussed, because I totally missed it. > > Looking at it now, I'd make some alterations to it. > > For example, there's a difference between "pausing" and "stopping".

Re: [whatwg] Help with HTML5 Audio

2007-08-03 Thread Ian Hickson
On Sat, 23 Sep 2006, Jeff Schiller wrote: > > Do load events bubble up? If so, can I add a load even listener to the > document and then catch the load events there always? They do not. > If so, how can I distinguish the target is of type Audio and not of type > HTMLImageElement (or whatever

Re: [whatwg] Help with HTML5 Audio

2007-08-03 Thread Ian Hickson
On Fri, 22 Sep 2006, Jeff Schiller wrote: > > I need a solution that will work whether the sound is cached or not. Is > this a problem in the spec or a problem with my understanding of this > object or event handlers? The spec changed quite a bit, but now you should be able to do: var sound

Re: [whatwg] Audio(): loop() with 0 or negative value as argument

2007-08-03 Thread Ian Hickson
On Sat, 27 May 2006, Shadow2531 wrote: > > I might seem picky, but I don't really like how loop() takes a > *playcount* param. > > loop() = infinite > loop(1) = play once > loop(2) = play twice > > It's the loop(n) that bugs me. I see loop(1) and think that the file is > going to play once and

Re: [whatwg] Audio(): loop() with 0 or negative value as argument

2007-08-03 Thread Ian Hickson
On Fri, 26 May 2006, Anne van Kesteren wrote: > > In Opera we now throw INDEX_SIZE_ERR when someone calls loop(x) on the > Audio object with x being either 0 or negative. This seems to be > consistent with how similar "errors" are treated in the > interface and makes sense to us. Our suggestion

Re: [whatwg] Audio Interface

2007-08-03 Thread Ian Hickson
On Mon, 24 Apr 2006, Vladimir Vukicevic wrote: > > I agree; play count would be more descriptive. I'd also like to see a > pause() method, that pauses playback at whatever current frame is > playing, and then resumes playback there on play(). pause() is now available. -- Ian Hickson

Re: [whatwg] Audio Interface

2007-08-03 Thread Ian Hickson
On Fri, 21 Apr 2006, Jeff Schiller wrote: > > I have some questions/suggestions to the Web Apps 1.0 Audio Interface > (http://whatwg.org/specs/web-apps/current-work/#scs-sound) before it > takes off in too many browsers: > > 1) "The Audio() constructor takes a single argument, a URI (or IRI), ..

Re: [whatwg] about the Audio object

2007-08-03 Thread Ian Hickson
On Thu, 5 Jan 2006, Mathieu Henri wrote: > > Glad to see there's finally a standard way to play sound. May I suggest > a few members for the Audio object: > > volume > Set/get the replay volume ( set by default to 100%, or 1.0, > so that the sound is replayed at i

Re: [whatwg] [WA1] Audio and relative URIs

2007-08-03 Thread Ian Hickson
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 tha

Re: [whatwg] The Audio Interface

2007-08-03 Thread Ian Hickson
On Tue, 19 Jul 2005, Arve Bersvendsen wrote: > > A couple of questions regarding the Audio, > http://whatwg.org/specs/web-apps/current-work/#sound> interface > > 1. Is it sensible to put a restriction on contnet types? > 2. Regarding the loop() method on the Audio interface: Would it be > sensible

[whatwg] Detailed review of "Interpreting an event stream"

2007-08-03 Thread Henry Mason
Hey all- I've been working on an implementation of Server-Sent DOM Events. I ran into a small inconsistency in the specifications as they stand. Under section 6.2.4's "Class field" part: If the Namespace is null and the Event field is message (including if it was not specified expli