Re: [whatwg] request for clarification: aside, figure

2009-06-09 Thread Bruce Lawson
On Tue, 09 Jun 2009 01:57:15 +0100, Ian Hickson i...@hixie.ch wrote: On Sun, 10 May 2009, Bruce Lawson wrote: I don't think the spec is clear enough defining these two elements from an author's perspective. .. What is the difference between a figure that has no caption and an aside? Both

Re: [whatwg] Asynchronous file upload

2009-06-09 Thread Anne van Kesteren
On Tue, 09 Jun 2009 03:33:56 +0200, Ian Hickson i...@hixie.ch wrote: On Mon, 11 May 2009, Samuel Santos wrote: I was asked by a client if it was possible to implement something similar to the asynchronous file upload used on gmail using only standard web technologies. Looking at the gmail

Re: [whatwg] Annotating structured data that HTML has no semantics for

2009-06-09 Thread Ian Hickson
On Mon, 11 May 2009, Simon Pieters wrote: On Sun, 10 May 2009 12:32:34 +0200, Ian Hickson i...@hixie.ch wrote: Page 3: h2My Catsh2 dl dtSchrouml;dinger dd item=com.damowmow.cat meta property=com.damowmow.name content=Schrouml;dinger meta

Re: [whatwg] Annotating structured data that HTML has no semantics for

2009-06-09 Thread Jonas Sicking
Some of the improvement suggestions that I have heard that sounds interesting, though possibly for the next version of microdata. * Support for specifying a machine-readable value, such as for dates, colors, numbers, etc. I expect we will add support for these based on demand, the same way

Re: [whatwg] Annotating structured data that HTML has no semanticsfor

2009-06-09 Thread Kristof Zelechovski
* Let a COLOR element have a value DOM property in the DOM that returns a color. * Let a NUMBER element has a value DOM property that returns a number. Actually, the latter use case is one I have bumped into: * The DOM does not provide a numeric value, * JavaScript support for parsing localized

Re: [whatwg] Annotating structured data that HTML has no semantics for

2009-06-09 Thread Kristof Zelechovski
The problem of W3C DTD DDoS does not apply to CURIE because software processing RDF does not need to retrieve the resources referenced on a regular basis. Even in the case of DTD, the problem is that some software does not cache, not that some software tries to access it. IMHO, Chris

Re: [whatwg] Two feature-suggestions for HTML5 (forms)

2009-06-09 Thread Giovanni Campagna
Please don't cross-post to w3 lists and to whatwg lists. 2009/6/8 Asser Nilsson asser.nils...@googlemail.com: Hi! There are two things in HTML5-forms that are often made with Active Technology like JavaScript, that would be very cool, if HTML5 could do these things without Scripting: 1.

Re: [whatwg] Annotating structured data that HTML has no semantics for

2009-06-09 Thread Frank Hellenkamp
Ian Hickson wrote: I agree entirely. I actually tried to find a workable solution to address this but unfortunately the only general solutions I could come up with that would allow this were selector-based, and in practice authors are still having trouble understanding how to use Selectors

[whatwg] (no subject)

2009-06-09 Thread Ric Hardacre
This is a proposal that I posted to w3.org a year ago, and it didn't really get any debate there so I'm hoping to provoke some here, i wont go into too much detail instead linking to the original posts but i'll give a bit of an overview here... Essentially the proposal is for a static DOM

Re: [whatwg] code attributes

2009-06-09 Thread Jonas Sicking
On Thu, Jun 4, 2009 at 6:24 PM, Ian Hicksoni...@hixie.ch wrote: On Tue, 28 Apr 2009, Jacob Rask wrote: has there ever been any discussion on including an attribute to the code element, specify the programming language in the markup? If so, what was the conclusion? I didn't find anything in

Re: [whatwg] Asynchronous file upload

2009-06-09 Thread Michael Nordman
On Tue, Jun 9, 2009 at 12:48 AM, Anne van Kesteren ann...@opera.com wrote: On Tue, 09 Jun 2009 03:33:56 +0200, Ian Hickson i...@hixie.ch wrote: On Mon, 11 May 2009, Samuel Santos wrote: I was asked by a client if it was possible to implement something similar to the asynchronous file

Re: [whatwg] Asynchronous file upload

2009-06-09 Thread Anne van Kesteren
On Tue, 09 Jun 2009 20:37:04 +0200, Michael Nordman micha...@google.com wrote: Does the planned API allow for the composition of multipart encoded posts including binary file parts? So not just sending the binary file data in isolation. Such that the caller can use some File API to obtain

Re: [whatwg] Superset encodings [Re: ISO-8859-* and the C1 control range]

2009-06-09 Thread Øistein E . Andersen
Le 3 juin 09 à 23h19, Ian Hickson écrivit : On Tue, 14 Apr 2009, Øistein E. Andersen wrote: HTML5 currently contains a table of encodings aliases, [...] GB2312 and GB_2312-80 technically refer to the *character set* GB 2312-80, [...]. GBK, on the other hand, is an encoding. [...] There is

Re: [whatwg] DOMTokenList is unordered but yet requires sorting

2009-06-09 Thread Ian Hickson
On Wed, 13 May 2009, Erik Arvidsson wrote: Section 2.9.3 DOMTokenList says: The DOMTokenList interface represents an interface to an underlying string that consists of an *unordered* set of unique space-separated tokens. Yet, the item method says: The item(index) method must split

Re: [whatwg] DOMTokenList is unordered but yet requires sorting

2009-06-09 Thread João Eiras
Ensuring consistency between browsers, to reduce the likelihood that any particular browser's ordering becomes important and then forcing that browser's ordering (which could be some arbitrary ordering dependent on some particular hash function, say) into the platform de facto. This is similar

Re: [whatwg] A Selector-based metadata proposal (was: Annotating structured data that HTML has no semantics for)

2009-06-09 Thread Ian Hickson
On Thu, 14 May 2009, Eduard Pascual wrote: I have put online a document that describes my idea/proposal for a selector-based solution to metadata. The document can be found at http://herenvardo.googlepages.com/CRDF.pdf Feel free to copy and/or link the file wherever you deem appropriate.

Re: [whatwg] DOMTokenList is unordered but yet requires sorting

2009-06-09 Thread Erik Arvidsson
I was about to follow up on this. Requiring sorting which is O(n log n) for something that can be done in O(n) makes thing slower without any real benefit. Like João said the order should be defined as the order of the class content attribute. On Tue, Jun 9, 2009 at 16:00, João Eiras

[whatwg] Limit on number of parallel Workers.

2009-06-09 Thread Dmitry Titov
Hi WHATWG! In Chromium, workers are going to have their separate processes, at least for now. So we quickly found that while(true) foo = new Worker(...) quickly consumes the OS resources :-) In fact, this will kill other browsers too, and on some systems the unbounded number of threads will

Re: [whatwg] Limit on number of parallel Workers.

2009-06-09 Thread Oliver Hunt
I believe that this will be difficult to have such a limit as sites may rely on GC to collect Workers that are no longer running (so number of running threads is non-deterministic), and in the context of mix source content (mash-ups) it will be difficult for any content source to be sure

Re: [whatwg] Limit on number of parallel Workers.

2009-06-09 Thread Jonas Sicking
On Tue, Jun 9, 2009 at 6:13 PM, Dmitry Titovdim...@chromium.org wrote: Hi WHATWG! In Chromium, workers are going to have their separate processes, at least for now. So we quickly found that while(true) foo = new Worker(...) quickly consumes the OS resources :-) In fact, this will kill other

Re: [whatwg] Limit on number of parallel Workers.

2009-06-09 Thread Jeremy Orlow
On Tue, Jun 9, 2009 at 6:28 PM, Oliver Hunt oli...@apple.com wrote: I believe that this will be difficult to have such a limit as sites may rely on GC to collect Workers that are no longer running (so number of running threads is non-deterministic), and in the context of mix source content

Re: [whatwg] Limit on number of parallel Workers.

2009-06-09 Thread Drew Wilson
This is a bit of an aside, but section 4.5 of the Web Workers spec no longer makes any guarantees regarding GC of workers. I would expect user agents to make some kind of best effort to detect unreachability in the simplest cases, but supporting MessagePorts and SharedWorkers makes authoritatively

Re: [whatwg] Limit on number of parallel Workers.

2009-06-09 Thread Drew Wilson
It occurs to me that my statement was a bit stronger than I intended - the spec *does* indeed make guarantees regarding GC of workers, but they are fairly loose and typically tied to the parent Document becoming inactive. -atw On Tue, Jun 9, 2009 at 6:42 PM, Drew Wilson atwil...@google.com wrote:

Re: [whatwg] Limit on number of parallel Workers.

2009-06-09 Thread Michael Nordman
This is the solution that Firefox 3.5 uses. We use a pool of relatively few OS threads (5 or so iirc). This pool is then scheduled to run worker tasks as they are scheduled. So for example if you create 1000 worker objects, those 5 threads will take turns to execute the initial scripts one

Re: [whatwg] File package protocol and manifest support?

2009-06-09 Thread Ian Hickson
On Mon, 18 May 2009, Brett Zamir wrote: While this may be too far in the game to bring up, I'd very much be interested (and think others would be too) to have a standard means of representing not only individual files, but also groups of files on the web. This seems reasonable, but I

Re: [whatwg] DOM3 Load and Save for simple parsing/serialization?

2009-06-09 Thread Ian Hickson
On Mon, 18 May 2009, Brett Zamir wrote: Has any thought been given to standardizing on at least a part of DOM Level 3 Load and Save in HTML5? DOM3 Load and Save is already standardised as far as I can tell. I don't see why HTML5 would have to say anything about it. -- Ian Hickson

[whatwg] Feedbacl

2009-06-09 Thread Mike Weissenborn
For some reason tonight I decided to check on what up coming in the new HTML5 and have some questions, queries and concerns. I hope I'm not too being redundent with other comments: 1) I've usedframes in many web pages, and I see this is being dropped. I typically have a selection frame and a

Re: [whatwg] Limit on number of parallel Workers.

2009-06-09 Thread Dmitry Titov
On Tue, Jun 9, 2009 at 7:07 PM, Michael Nordman micha...@google.com wrote: This is the solution that Firefox 3.5 uses. We use a pool of relatively few OS threads (5 or so iirc). This pool is then scheduled to run worker tasks as they are scheduled. So for example if you create 1000 worker

Re: [whatwg] A new attribute for video and low-power devices

2009-06-09 Thread Ian Hickson
On Mon, 18 May 2009, Benjamin M. Schwartz wrote: As I have mentioned earlier, there are some devices that will be unable to render video faithfully inline, due to the limitations of hardware video accelerators. However, it occurs to me that there are two essentially different uses for