Re: [whatwg] Scripted querying of video capabilities

2008-08-12 Thread Kristof Zelechovski
What is the advantage of using JavaScript to determine a viable embedding method over using alternative streams and fallback content that can include the OBJECT element where appropriate? Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Starling

Re: [whatwg] WebWorkers vs. Threads

2008-08-12 Thread David Jones
On 11 Aug 2008, at 18:43, Aaron Boodman wrote: On Sun, Aug 10, 2008 at 5:54 PM, Shannon [EMAIL PROTECTED] wrote: * each coroutine gets a real OS thread (if available). snip Coroutines in Lua are not operating system threads or processes. Coroutines are blocks of Lua code which are created

Re: [whatwg] Scripted querying of video capabilities

2008-08-12 Thread Chris Double
On Tue, Aug 12, 2008 at 7:47 PM, Kristof Zelechovski [EMAIL PROTECTED] wrote: What is the advantage of using JavaScript to determine a viable embedding method over using alternative streams and fallback content that can include the OBJECT element where appropriate? video src=foo.ogg fallback

Re: [whatwg] WebWorkers vs. Threads

2008-08-12 Thread Shannon
--http://lua-users.org/wiki/CoroutinesTutorial Is this description incorrect? It seems at odds with what you said about Lua coroutines getting an OS thread (if one is available). The description you quoted from lua-users.org is correct. The primary implementation of Lua is 100% portable

Re: [whatwg] lang vs. xml:lang; id vs. xml:id

2008-08-12 Thread Ian Hickson
On Fri, 1 Dec 2006, Michel Fortin wrote: Le 1 déc. 2006 à 11:44, Ian Hickson a écrit : On Fri, 1 Dec 2006, Michel Fortin wrote: Okay, so if I understand well, xml:lang in the spec refers to the lang attribute in the xml namespace, not to the xml:lang attribute in the null

Re: [whatwg] HTML 5 : Misconceptions Documented

2008-08-12 Thread Kristof Zelechovski
The attribute FORM.length is not parseable: it cannot be defined in the HTML source and such definition should be ignored. The intrinsic computed length attribute should take precedence over the imported control name which can be retrieved calling form.elements.item(length). Chris -Original

[whatwg] WebWorker questions

2008-08-12 Thread Shannon
A few questions and thoughts on the WebWorkers proposal: If a WebWorker object is assigned to local variable inside a complex script then it cannot be seen or stopped by the calling page. Should the specification offer document.workers or getAllWorkers() as a means to iterate over all

Re: [whatwg] HTML 5 : Misconceptions Documented

2008-08-12 Thread Kristof Zelechovski
It is probably too late for that but I like the concept of a default property much better than metaattributes like IndexGetter. For example, document.forms(0) means call forms on document with argument 0. That is impossible because forms is not a function so we look into forms collection and we

[whatwg] Fwd: HTML 5 : Misconceptions Documented

2008-08-12 Thread Garrett Smith
(to list) -- Forwarded message -- From: Garrett Smith [EMAIL PROTECTED] Date: Tue, Aug 12, 2008 at 11:00 AM Subject: Re: [whatwg] HTML 5 : Misconceptions Documented To: Kristof Zelechovski [EMAIL PROTECTED] On Tue, Aug 12, 2008 at 4:53 AM, Kristof Zelechovski [EMAIL PROTECTED]

Re: [whatwg] WebWorker questions

2008-08-12 Thread Aaron Boodman
On Tue, Aug 12, 2008 at 4:50 AM, Shannon [EMAIL PROTECTED] wrote: If a WebWorker object is assigned to local variable inside a complex script then it cannot be seen or stopped by the calling page. Should the specification offer document.workers or getAllWorkers() as a means to iterate over

Re: [whatwg] WebWorker questions

2008-08-12 Thread Aaron Boodman
On Tue, Aug 12, 2008 at 8:24 AM, Kristof Zelechovski [EMAIL PROTECTED] wrote: A very interesting post, too bad nobody from Google bothered to give an exhaustive reply. Just a couple of thoughts below. Just as an FYI, most of the Gears team is located in Mountain View which is PST. This message

Re: [whatwg] WebWorker questions

2008-08-12 Thread Chris Prince
What stops a web page hogging ALL cores (deliberately or not) and leaving no resources for the UI mouse or key actions required to close the page? Any modern operating system enforces this, using standard thread / process task scheduling. I know it's a vendor issue but should the spec at

[whatwg] Fwd: HTML 5 : Misconceptions Documented

2008-08-12 Thread Garrett Smith
[back to whatwg list.] -- Forwarded message -- From: Garrett Smith [EMAIL PROTECTED] Date: 2008/8/12 Subject: Fwd: [whatwg] HTML 5 : Misconceptions Documented To: CSS 3 W3C Group [EMAIL PROTECTED] 2008/8/12 Křištof Želechovski [EMAIL PROTECTED]: Another top post. Reading the

Re: [whatwg] Scripted querying of video capabilities

2008-08-12 Thread Chris Double
On Wed, Aug 13, 2008 at 3:35 AM, Kristof Zelechovski [EMAIL PROTECTED] wrote: Falling back to another method of displaying media is possible without a dedicated media API. In this particular case, you can have a video element with an ogg source and an object running Cortado to display it. I

Re: [whatwg] .localName shouldn't change case

2008-08-12 Thread Ian Hickson
On Fri, 29 Jun 2007, Darin Adler wrote: On Jun 29, 2007, at 9:15 AM, Simon Pieters wrote: For HTML elements in HTML documents, why is Element.localName uppercased for tag names and lowercased for attribute names? I wouldn't expect it to, and it makes it harder to write scripts that

Re: [whatwg] Scripted querying of video capabilities

2008-08-12 Thread James Ide
On Tue, Aug 12, 2008 at 3:46 PM, Chris Double [EMAIL PROTECTED]wrote: A browser that supports video but not Ogg will not use the fallback object. Instead it will just give an error when loading the foo.ogg file. In this case I believe it would be possible to listen to the `error' event and

Re: [whatwg] Getting .innerHTML in XML well-formedness issues

2008-08-12 Thread Ian Hickson
On Tue, 10 Jul 2007, Simon Pieters wrote: What about when there are illegal characters? The DOM doesn't let you create those cases. Sure it does. e.g. the DOM allows e.g. control characters in various places that XML doesn't. I haven't looked into every production in XML to see

[whatwg] Proposed updates for the command API's

2008-08-12 Thread Dav Glass
Hey all -- I have a list of proposed additions to the Command API's: http://www.whatwg.org/specs/web-apps/current-work/#command I was wondering if I could get some feedback on what I have: http://blog.davglass.com/files/yui/html5 Thanks Dav Dav Glass [EMAIL PROTECTED] blog.davglass.com

Re: [whatwg] Proposed updates for the command API's

2008-08-12 Thread Ian Hickson
On Tue, 12 Aug 2008, Dav Glass wrote: I have a list of proposed additions to the Command API's: http://www.whatwg.org/specs/web-apps/current-work/#command I was wondering if I could get some feedback on what I have: http://blog.davglass.com/files/yui/html5 These are interesting

Re: [whatwg] Scripted querying of video capabilities

2008-08-12 Thread Tim Starling
James Ide wrote: On Tue, Aug 12, 2008 at 3:46 PM, Chris Double [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: A browser that supports video but not Ogg will not use the fallback object. Instead it will just give an error when loading the foo.ogg file. In this case I believe

Re: [whatwg] Proposed updates for the command API's

2008-08-12 Thread Dav Glass
- Original Message From: Ian Hickson [EMAIL PROTECTED] On Tue, 12 Aug 2008, Dav Glass wrote: * ModifiedNodes - I think this would be better as a separate API, maybe queryCommandAffected() or something, that returns the collection. Also, maybe it should return a range