Re: [whatwg] [HTML5] A content in img elements for ASCII art

2009-11-25 Thread Markus Ernst
David Bruant schrieb: Tab Atkins Jr. a écrit : It's impossible at this point to make img elements take contents. They're void elements in every single browser in existence. = I take this argument as a pro argument for two reasons : - img are void elements in every single browser, so, if

Re: [whatwg] Polynomial DOM growth with active formatting elements

2009-11-25 Thread Henri Sivonen
On Nov 10, 2009, at 20:55, Kartikaya Gupta wrote: .. and so on. In general the number of font elements in the DOM grows polynomially, with the result that pages like [1] and [2] end up with hundreds of thousands of font elements. I haven't even been able to successfully parse [3] with

Re: [whatwg] localStorage mutex - a solution?

2009-11-25 Thread Ian Hickson
On Wed, 4 Nov 2009, Rob Ennals wrote: How about this for a solution for the localStorage mutex problem: [...] Here's a proposal based on the recent feedback: * There is a per-origin mutex. It can be owned by either an event loop task or a network layer task. * Things that wait until their

Re: [whatwg] [HTML5] A content in img elements for ASCII art

2009-11-25 Thread Nikita Popov
I think the idea of replacing the alt-attribute by the content of img is very good. An image used as an img needs to be content-related an therefore you often could place a descriptive text into it. This would lead us to img being only a normal HTML-element with normal content, but the ability

[whatwg] Interface objects in Web Workers

2009-11-25 Thread Simon Pieters
The Interface objects and constructors section says There must be no interface objects and constructors available in the global scope of scripts whose script's global object is a WorkerGlobalScope object except for the following: WorkerGlobalScope, WorkerLocation, Navigator, AbstractWorker,

Re: [whatwg] localStorage mutex - a solution?

2009-11-25 Thread Jeremy Orlow
On Wed, Nov 25, 2009 at 6:20 AM, Ian Hickson i...@hixie.ch wrote: On Wed, 4 Nov 2009, Rob Ennals wrote: How about this for a solution for the localStorage mutex problem: [...] Here's a proposal based on the recent feedback: * There is a per-origin mutex. It can be owned by either an

Re: [whatwg] localStorage mutex - a solution?

2009-11-25 Thread Mike Shaver
On Wed, Nov 25, 2009 at 6:20 AM, Ian Hickson i...@hixie.ch wrote: Reading or writing a property on a native object doesn't do it, so   window['x'].document.forms['y'].value = 'foo'; ...doesn't release the mutex, though this (identical code) would:  

Re: [whatwg] [HTML5] A content in img elements for ASCII art

2009-11-25 Thread Thomas Broyer
On Wed, Nov 25, 2009 at 3:56 PM, Nikita Popov wrote: I think the idea of replacing the alt-attribute by the content of img is very good. An image used as an img needs to be content-related an therefore you often could place a descriptive text into it. This would lead us to img being only a

Re: [whatwg] localStorage mutex - a solution?

2009-11-25 Thread Boris Zbarsky
On 11/25/09 6:20 AM, Ian Hickson wrote: - script calling a method implemented in native code on a host object ... If this is a MUST, this seems like a possible compat issue depending on whether the method is native or library-provided, at the very least. There's also been talk at least

Re: [whatwg] localStorage mutex - a solution?

2009-11-25 Thread Darin Fisher
On Wed, Nov 25, 2009 at 9:16 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/25/09 6:20 AM, Ian Hickson wrote: - script calling a method implemented in native code on a host object ... If this is a MUST, this seems like a possible compat issue depending on whether the method is native

Re: [whatwg] localStorage mutex - a solution?

2009-11-25 Thread Jeremy Orlow
On Wed, Nov 25, 2009 at 12:16 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/25/09 6:20 AM, Ian Hickson wrote: - script calling a method implemented in native code on a host object ... If this is a MUST, this seems like a possible compat issue depending on whether the method is native

Re: [whatwg] localStorage mutex - a solution?

2009-11-25 Thread Maciej Stachowiak
On Nov 25, 2009, at 7:46 AM, Jeremy Orlow wrote: On Wed, Nov 25, 2009 at 6:20 AM, Ian Hickson i...@hixie.ch wrote: On Wed, 4 Nov 2009, Rob Ennals wrote: How about this for a solution for the localStorage mutex problem: [...] Here's a proposal based on the recent feedback: * There is a

Re: [whatwg] size limits on web databases

2009-11-25 Thread Ian Hickson
On Sat, 29 Aug 2009, Rob Kroeger wrote: On Saturday, August 29, 2009, Ian Hickson i...@hixie.ch wrote: On Thu, 13 Aug 2009, Rob Kroeger wrote: From http://dev.w3.org/html5/webdatabase/: The openDatabase() method on the Window and WorkerUtils interfaces must return a newly