Re: [whatwg] Proposal for Web Storage expiration

2010-08-05 Thread Jeremy Orlow
As far as I can see, the next steps are (roughly in order): 1) Figure out whether it should be an origin wide setting or not. In order to prove that it needs to be a per LocalStorage bucket setting, its on you to come up with use cases where an origin wide setting is not enough. By use cases, we

Re: [whatwg] Race condition in media load algorithm

2010-08-05 Thread Philip Jägenstedt
On Wed, 04 Aug 2010 19:19:35 +0200, Boris Zbarsky bzbar...@mit.edu wrote: On 8/4/10 6:56 AM, Philip Jägenstedt wrote: On Wed, 04 Aug 2010 11:32:51 +0200, Boris Zbarsky bzbar...@mit.edu wrote: On 8/4/10 4:29 AM, Philip Jägenstedt wrote: That could be, but is this behavior actually useful

Re: [whatwg] [br] element should not be a line break

2010-08-05 Thread Thomas Koetter
I wrote: Given the inherent structure of an address, a definition list with name/value pairs would also be more semantically fitting than a paragraph of text with line breaks. Aryeh wrote; That would either be incorrect use of dl, or would not display as desired, or would require hiding some

Re: [whatwg] [br] element should not be a line break

2010-08-05 Thread Thomas Koetter
Andy wrote: Far greater semantic richness is obtained by using the ADR microformat Absolutely! Good point. As I was talking about HTML5 elements, I didn't take that into consideration. But then I suggest a combination of the two is even better. address class=vcard dl class=adr

Re: [whatwg] Form validation against invisible controls

2010-08-05 Thread Ola P. Kleiven
On Wed, 04 Aug 2010 23:32:46 +0200, Ian Hickson i...@hixie.ch wrote: On Fri, 4 Jun 2010, TAMURA, Kent wrote: An element is a candidate for constraint validation if 1. it is a validatable type, e.g. true if input type=number, false if input type=reset 2. has no disabled attribute,

[whatwg] Discussing WebSRT and alternatives/improvements

2010-08-05 Thread Silvia Pfeiffer
Hi Ian, all, I'd like to pick up again on the discussion about what file format should be supported as baseline in HTML5 for providing time-synchronized text for media resources. This is particularly important now that we have the WebSRT proposal

Re: [whatwg] Race condition in media load algorithm

2010-08-05 Thread Boris Zbarsky
On 8/5/10 5:14 AM, Philip Jägenstedt wrote: It's not, in fact, trivial in implementation. You're making assumptions about how implementations work that don't seem warranted (e.g. the concept of reference to that very script is not well-defined in some implementations). In particular, what you're

Re: [whatwg] [br] element should not be a line break

2010-08-05 Thread Kit Grose
I do see an advantage to permitting the arbitrary styling of the BR element. Often a series of links shown inline are separated by a pipe (|) character. In the past I've produced this effect using border-right and other such malarky on the anchors or inline LIs with the same, but I think

Re: [whatwg] INCLUDE and links with @rel=embed

2010-08-05 Thread Tab Atkins Jr.
On Wed, Aug 4, 2010 at 7:25 PM, Bjartur Thorlacius svartma...@gmail.com wrote: On Tue, 18 May 2010, bjartur wrote: First of all I think we should use a rel=embed href=uri-ref instead of source. What problem would this solve? It would tell UAs that don't implement HTML 5 that the value

Re: [whatwg] [br] element should not be a line break

2010-08-05 Thread Tab Atkins Jr.
On Thu, Aug 5, 2010 at 2:24 AM, Thomas Koetter thomas.koet...@id-script.de wrote: Aryeh wrote: That's invalid markup.  The first child of a dl (if any) must be a dt.  I don't know what the semantics of dl are supposed to be with no dt. According to the spec it is perfectly acceptable to leave

Re: [whatwg] [br] element should not be a line break

2010-08-05 Thread Christoph Päper
Jeremy Keith: The hr element is currently defined as a paragraph-level thematic break. I think br could be defined as a text-level thematic break. That makes perfect sense. The only problem I see is existing content which relies on consecutive ‘br’s producing multiple line breaks, i.e.

Re: [whatwg] Adding ECMAScript 5 array extras to HTMLCollection

2010-08-05 Thread Oliver Hunt
On Aug 4, 2010, at 6:26 PM, Garrett Smith wrote: On 8/4/10, Oliver Hunt oli...@apple.com wrote: On Aug 4, 2010, at 3:32 PM, Garrett Smith wrote: On 8/4/10, Garrett Smith dhtmlkitc...@gmail.com wrote: [...] submitButton in form.elements Existing implementations vary on when they use

Re: [whatwg] [br] element should not be a line break

2010-08-05 Thread Ryosuke Niwa
On Wed, Aug 4, 2010 at 2:31 PM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: On Wed, Aug 4, 2010 at 8:56 AM, Thomas Koetter thomas.koet...@id-script.de wrote: What strikes me though is that according to the spec The br element represents a line break. A *line*

Re: [whatwg] Race condition in media load algorithm

2010-08-05 Thread Eric Carlson
On Aug 5, 2010, at 8:22 AM, Boris Zbarsky wrote: In practice, what Gecko would likely do here is to treat stable state as the event loop is spinning, just like we would for the other case. This means that while a modal dialog is up, or a sync XHR is running or whatnot is a stable state.

Re: [whatwg] Race condition in media load algorithm

2010-08-05 Thread Boris Zbarsky
On 8/5/10 2:24 PM, Eric Carlson wrote: On Aug 5, 2010, at 8:22 AM, Boris Zbarsky wrote: In practice, what Gecko would likely do here is to treat stable state as the event loop is spinning, just like we would for the other case. This means that while a modal dialog is up, or a sync XHR is

Re: [whatwg] [br] element should not be a line break

2010-08-05 Thread Bryce Fields
On Thu, Aug 5, 2010 at 1:24 PM, Christoph Päper christoph.pae...@crissov.de wrote: Jeremy Keith: The hr element is currently defined as a paragraph-level thematic break. I think br could be defined as a text-level thematic break. That makes perfect sense. The only problem I see is

[whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Kevin Ar18
First off, let me start with a question to see if maybe I missed something somewhere: Is it possible to create an SVG shape (say a hollow circle) that allows you to click through the invisible areas of the svg canvas to html objects underneath? As far as I know, there is no way to do

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Boris Zbarsky
On 8/5/10 3:14 PM, Kevin Ar18 wrote: Is it possible to create an SVG shape (say a hollow circle) that allows you to click through the invisible areas of the svg canvas to html objects underneath? Yes. See http://www.w3.org/TR/SVG/interact.html#PointerEventsProperty -Boris

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Kevin Ar18
On 8/5/10 3:14 PM, Kevin Ar18 wrote: Is it possible to create an SVG shape (say a hollow circle) that allows you to click through the invisible areas of the svg canvas to html objects underneath? Yes. See http://www.w3.org/TR/SVG/interact.html#PointerEventsProperty Quick question, if

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Boris Zbarsky
On 8/5/10 3:36 PM, Kevin Ar18 wrote: On 8/5/10 3:14 PM, Kevin Ar18 wrote: Is it possible to create an SVG shape (say a hollow circle) that allows you to click through the invisible areas of the svg canvas to html objects underneath? Yes. See

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Kevin Ar18
Is it possible to create an SVG shape (say a hollow circle) that allows you to click through the invisible areas of the svg canvas to html objects underneath? Yes. See http://www.w3.org/TR/SVG/interact.html#PointerEventsProperty -Boris Another followup. First, I should thank you

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Kevin Ar18
This might depend on the browser, since nothing actually defines the interaction of SVG and HTML in this area very well. Per SVG spec, pointer-events is not supposed to apply to , for example. However in the case of Gecko specifically, the none value is supported for all elements, not just

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Boris Zbarsky
On 8/5/10 4:16 PM, Kevin Ar18 wrote: Do you think there is a need for some clarification on this issue in the HTML5 specs? I think there's work on a clarification going on already in the CSS working group. See the thread starting with

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Kevin Ar18
Do you think there is a need for some clarification on this issue in the HTML5 specs? I think there's work on a clarification going on already in the CSS working group. See the thread starting with http://lists.w3.org/Archives/Public/www-style/2008Jul/0428.html I guess that would

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Eduard Pascual
On Mon, Aug 2, 2010 at 7:37 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 8/2/10 1:15 PM, Aryeh Gregor wrote: If you don't agree that this use-case is worth adding the feature for, do you think that: 3) Something else? For the use case your describe, it might just make more sense for

Re: [whatwg] Adding ECMAScript 5 array extras to HTMLCollection

2010-08-05 Thread Garrett Smith
On 8/5/10, Oliver Hunt oli...@apple.com wrote: On Aug 4, 2010, at 6:26 PM, Garrett Smith wrote: On 8/4/10, Oliver Hunt oli...@apple.com wrote: On Aug 4, 2010, at 3:32 PM, Garrett Smith wrote: On 8/4/10, Garrett Smith dhtmlkitc...@gmail.com wrote: [...] submitButton in form.elements

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Boris Zbarsky
On 8/5/10 4:40 PM, Kevin Ar18 wrote: I guess that would solve future issues... but it involves a new spec right? Well, any sort of clarification here does, yes. My concern is that we get this specific HTML5-SVG interaction right now It needs a new spec no matter what, no matter where it

[whatwg] Feedback on the Mozilla FullScreen API proposal

2010-08-05 Thread Simon Fraser
This is feedback on the Mozilla FullScreen API proposal here: https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI The user agent may transition a Document into or out of the fullscreen state at any time, whether or not script has requested it. User agents are encouraged to provide

Re: [whatwg] Adding ECMAScript 5 array extras to HTMLCollection

2010-08-05 Thread Garrett Smith
On 8/5/10, Garrett Smith dhtmlkitc...@gmail.com wrote: On 8/5/10, Oliver Hunt oli...@apple.com wrote: On Aug 4, 2010, at 6:26 PM, Garrett Smith wrote: On 8/4/10, Oliver Hunt oli...@apple.com wrote: On Aug 4, 2010, at 3:32 PM, Garrett Smith wrote: On 8/4/10, Garrett Smith

Re: [whatwg] Feedback on the Mozilla FullScreen API proposal

2010-08-05 Thread Robert O'Callahan
On Fri, Aug 6, 2010 at 10:17 AM, Simon Fraser s...@me.com wrote: This is feedback on the Mozilla FullScreen API proposal here: https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI The user agent may transition a Document into or out of the fullscreen state at any time, whether or

Re: [whatwg] WebSockets: why boolean return value for send()?

2010-08-05 Thread Ian Hickson
On Thu, 15 Apr 2010, Simon Pieters wrote: WebSocket send(): [[ The send(data) method transmits data using the connection. ... If the connection is established, and the string has no unpaired surrogates, and the WebSocket closing handshake has not yet started, then the user agent must send

Re: [whatwg] WebSocket: garbage collection

2010-08-05 Thread Ian Hickson
On Thu, 20 May 2010, Simon Pieters wrote: [...] (I didn't realize that you could get message and error events in CLOSING state.) Good point. Fixed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\

Re: [whatwg] WebSockets feedback

2010-08-05 Thread Ian Hickson
On Thu, 22 Jul 2010, Simon Pieters wrote: Because I expected the closing frame to be the exact sequence 0xFF 0x00 and nothing else. It makes the protocol simpler to understand and explain. This is a moot point now. The problem I was discussing is the following scenario: 1. Client

Re: [whatwg] Non-blocking SVG Canvas?

2010-08-05 Thread Kevin Ar18
First off, where would be an appropriate area to continue this conversation? I'm guessing the discussion is becoming less relevant to the HTML5 spec... and I don't want to bother others on this list. (Sorry to everyone for any issues this causes.) Would this be better continued on the SVG

Re: [whatwg] Feedback on the Mozilla FullScreen API proposal

2010-08-05 Thread Simon Fraser
On Aug 5, 2010, at 5:56 PM, Robert O'Callahan wrote: On Fri, Aug 6, 2010 at 10:17 AM, Simon Fraser s...@me.com wrote: This is feedback on the Mozilla FullScreen API proposal here: https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI The user agent may transition a Document into or

Re: [whatwg] Feedback on the Mozilla FullScreen API proposal

2010-08-05 Thread Robert O'Callahan
On Fri, Aug 6, 2010 at 1:37 PM, Simon Fraser s...@me.com wrote: On Aug 5, 2010, at 5:56 PM, Robert O'Callahan wrote: On Fri, Aug 6, 2010 at 10:17 AM, Simon Fraser s...@me.com wrote: * void cancelFullScreen() I think exit would be better than cancel. The only problem with exit is that

Re: [whatwg] INCLUDE and links with @rel=embed

2010-08-05 Thread Bjartur Thorlacius
On 8/5/10, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, Aug 4, 2010 at 7:25 PM, Bjartur Thorlacius svartma...@gmail.com wrote: On Tue, 18 May 2010, bjartur wrote: First of all I think we should use a rel=embed href=uri-ref instead of source. What problem would this solve? It

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Bjartur Thorlacius
On Wed, Aug 4, 2010 at 2:26 PM, Bjartur Thorlacius svartma...@gmail.com w= rote: A) Per resource metadata: =C2=A0 =C2=A0 =C2=A0 =C2=A0Some resource is inherently insuitable for imm= ediate =C2=A0 =C2=A0 =C2=A0 =C2=A0presentation. Metadata regarding this can be p= rovided by e.g. the

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Bjartur Thorlacius
On Wed, Aug 4, 2010 at 2:26 PM, Bjartur Thorlacius svartma...@gmail.com w= rote: A) Per resource metadata: =C2=A0 =C2=A0 =C2=A0 =C2=A0Some resource is inherently insuitable for imm= ediate =C2=A0 =C2=A0 =C2=A0 =C2=A0presentation. Metadata regarding this can be p= rovided by e.g. the

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Bjartur Thorlacius
On Wed, Aug 4, 2010 at 2:26 PM, Bjartur Thorlacius svartma...@gmail.com w= rote: A) Per resource metadata: =C2=A0 =C2=A0 =C2=A0 =C2=A0Some resource is inherently insuitable for imm= ediate =C2=A0 =C2=A0 =C2=A0 =C2=A0presentation. Metadata regarding this can be p= rovided by e.g. the

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Bjartur Thorlacius
On Wed, Aug 4, 2010 at 2:26 PM, Bjartur Thorlacius svartma...@gmail.com w= rote: A) Per resource metadata: =C2=A0 =C2=A0 =C2=A0 =C2=A0Some resource is inherently insuitable for imm= ediate =C2=A0 =C2=A0 =C2=A0 =C2=A0presentation. Metadata regarding this can be p= rovided by e.g. the

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Bjartur Thorlacius
On Wed, Aug 4, 2010 at 2:26 PM, Bjartur Thorlacius svartma...@gmail.com w= rote: A) Per resource metadata: =C2=A0 =C2=A0 =C2=A0 =C2=A0Some resource is inherently insuitable for imm= ediate =C2=A0 =C2=A0 =C2=A0 =C2=A0presentation. Metadata regarding this can be p= rovided by e.g. the

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Bjartur Thorlacius
On Wed, Aug 4, 2010 at 2:26 PM, Bjartur Thorlacius svartma...@gmail.com w= rote: A) Per resource metadata: =C2=A0 =C2=A0 =C2=A0 =C2=A0Some resource is inherently insuitable for imm= ediate =C2=A0 =C2=A0 =C2=A0 =C2=A0presentation. Metadata regarding this can be p= rovided by e.g. the

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Bjartur Thorlacius
On Wed, Aug 4, 2010 at 2:26 PM, Bjartur Thorlacius svartma...@gmail.com w= rote: A) Per resource metadata: =C2=A0 =C2=A0 =C2=A0 =C2=A0Some resource is inherently insuitable for imm= ediate =C2=A0 =C2=A0 =C2=A0 =C2=A0presentation. Metadata regarding this can be p= rovided by e.g. the

Re: [whatwg] Content-Disposition property for a tags

2010-08-05 Thread Bjartur Thorlacius
On Wed, Aug 4, 2010 at 2:26 PM, Bjartur Thorlacius svartma...@gmail.com w= rote: A) Per resource metadata: =C2=A0 =C2=A0 =C2=A0 =C2=A0Some resource is inherently insuitable for imm= ediate =C2=A0 =C2=A0 =C2=A0 =C2=A0presentation. Metadata regarding this can be p= rovided by e.g. the