Re: [whatwg] Workers feedback

2008-11-14 Thread Alexey Proskuryakov
Nov 14, 2008, в 2:30 AM, Ian Hickson написал(а): I believe that the idea that the API for shared and dedicated workers should be the same is misguided. The spec used to make the two cases identical. The result was confusion, and the dedicated case was much more complex than necessary.

[whatwg] attribute media on script element

2008-11-14 Thread Filippo Levizzani
Hi, I don't know if the question has already been posted... Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) Personally, I'd really love this feature. Thank you Kind regards Filippo --

Re: [whatwg] Deprecating small, b ?

2008-11-14 Thread David Muschiol
On Fri, Nov 14, 2008 at 06:09, Nils Dagsson Moskopp [EMAIL PROTECTED] wrote: The small element represents small print [...] The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance [...] Both definitions seems rather

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-14 Thread Alexey Proskuryakov
Nov 14, 2008, в 3:59 AM, Ian Hickson написал(а): For the sake of completeness, a connect/startConversation method on a worker really should automatically open the receiving port - this is what examples posted so far implied, and it would cause a lot of aggravation if it didn't. I know I'm

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-14 Thread Alexey Proskuryakov
Nov 14, 2008, в 7:37 AM, Jonas Sicking написал(а): Feel free to try our implementation of a subset of the spec ;) I did not say that there was anything wrong with Mozilla's implementation! What I said was that it was very different from the current spec, at least in spirit. In fact,

[whatwg] attribute media on script element

2008-11-14 Thread Filippo Levizzani
Hi, Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) Thank you Kind regards Filippo

Re: [whatwg] Workers feedback

2008-11-14 Thread timeless
On Fri, Nov 14, 2008 at 9:00 AM, Jonas Sicking [EMAIL PROTECTED] wrote: Oh?! Then I understand even less what the use case is. This is something that doesn't exist for script and i've never heard anyone ask for it (granted, that is not proof that no one wants it). a script can figure out where

Re: [whatwg] About input type=hidden

2008-11-14 Thread Mike Wilson
Ian Hickson wrote: On Fri, 17 Oct 2008, Mike Wilson wrote: but for more decoupled systems you may want to specify a HTML snippet per object type or similar - and then apply recursive view rendering on an object graph. I agree, but it seems that having the hidden inputs be inside the

Re: [whatwg] Workers feedback

2008-11-14 Thread Alexey Proskuryakov
Nov 14, 2008, в 10:00 AM, Jonas Sicking написал(а): What are the use cases? Also note that we can't use it with shared workers since they can be connected to several pages from different uris. It returns the script's URL, not the page's. Oh?! Then I understand even less what the use case

Re: [whatwg] Deprecating small, b ?

2008-11-14 Thread Pentasis
The small element represents small print [...] The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance [...] Both definitions seems rather presentational (contrasting, for example, the new semantic definition for the i

Re: [whatwg] Deprecating small, b ?

2008-11-14 Thread Oldřich Vetešník
Dne Fri, 14 Nov 2008 14:40:20 +0100 Pentasis [EMAIL PROTECTED] napsal/-a: I agree with the original poster on this. 1) Just because it makes sense to a human (it doesn't to me), does not mean it makes sense to a machine. 2) When using small on different text-nodes throughout the document,

Re: [whatwg] Deprecating small, b ?

2008-11-14 Thread Tab Atkins Jr.
On Fri, Nov 14, 2008 at 7:40 AM, Pentasis [EMAIL PROTECTED] wrote: The small element represents small print [...] The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance [...] Both definitions seems rather

Re: [whatwg] Deprecating small, b ?

2008-11-14 Thread Pentasis
Of course not. You're not intended to. What you *do* get, though, is that this is a word which is *intentionally* stylistically offset from the rest of the text. This conveys semantic meaning to a human - it means that the word is special or being used in a particular context. b and i don't

Re: [whatwg] Deprecating small, b ?

2008-11-14 Thread Tab Atkins Jr.
On Fri, Nov 14, 2008 at 9:38 AM, Pentasis [EMAIL PROTECTED] wrote: Of course not. You're not intended to. What you *do* get, though, is that this is a word which is *intentionally* stylistically offset from the rest of the text. This conveys semantic meaning to a human - it means that the

Re: [whatwg] video tag: pixel aspect ratio

2008-11-14 Thread Sander van Zoest
On Thu, Nov 13, 2008 at 9:12 PM, Pierre-Olivier Latour [EMAIL PROTECTED]wrote: In any case, if this attribute really needs to be present, we should rename it at the minimum (picking a term from the professional video world requires taking the constraints that come with it), maybe displayRatio

Re: [whatwg] Workers feedback

2008-11-14 Thread Aaron Boodman
Ian, Thanks for taking the time to read and understand all the feedback. Although this is not my most preferred design for the API, I can live with it. I'm happy that we removed startConversation(). I think that was just extra complexity on top of an already large API. As for putting forward

Re: [whatwg] attribute media on script element

2008-11-14 Thread L. David Baron
On Friday 2008-11-14 11:37 +0100, Filippo Levizzani wrote: Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) I'm not quite sure how this would work, since there are two things that seem

Re: [whatwg] Deprecating small, b ?

2008-11-14 Thread Pentasis
If we wish to communicate that level of semantics, yes. It may not be useful to us. If you *really* need some metadata/semantics, @class probably can't convey it with enough granularity. Check out the big discussion from a few months ago about ccRel and RDFa. Not yet maybe, but we could

Re: [whatwg] Deprecating small, b ?

2008-11-14 Thread Tab Atkins Jr.
On Fri, Nov 14, 2008 at 10:44 AM, Pentasis [EMAIL PROTECTED] wrote: If we wish to communicate that level of semantics, yes. It may not be useful to us. If you *really* need some metadata/semantics, @class probably can't convey it with enough granularity. Check out the big discussion from

Re: [whatwg] Sending MessagePorts after they have started

2008-11-14 Thread Alexey Proskuryakov
Nov 14, 2008, в 8:50 AM, Jonas Sicking написал(а): To fix all this I propose that if a port has been started, we don't allow it to be passed to postMessage. If that is done an exception is thrown. Could you please explain how this scenario is affected by the port being started? Messages

Re: [whatwg] Workers feedback

2008-11-14 Thread Aaron Boodman
On Thu, Nov 13, 2008 at 10:17 PM, Jonas Sicking [EMAIL PROTECTED] wrote: Aaron Boodman wrote: On Thu, Nov 13, 2008 at 8:45 PM, Ian Hickson [EMAIL PROTECTED] wrote: On Thu, 13 Nov 2008, Jonas Sicking wrote: Actually, i think we should remove the location accessor as well. I can't think of a

Re: [whatwg] attribute media on script element

2008-11-14 Thread L. David Baron
On Friday 2008-11-14 18:53 +0100, Filippo Levizzani wrote: * whether a media attribute is true can change over time but the same applies to style element , I guess Yes, but styles can be applied and unapplied easily. This seems to imply that we'd have to go un-execute a script, or that

[whatwg] Off-topic: listserv bounces

2008-11-14 Thread Aaron Miller
Could a list admin please contact me off-list regarding strange bounce errors? I've tried contacting an admin through the list admin email twice and have received no responses. Thanks Aaron

Re: [whatwg] Sending MessagePorts after they have started

2008-11-14 Thread Jonas Sicking
Alexey Proskuryakov wrote: Nov 14, 2008, в 8:50 AM, Jonas Sicking написал(а): To fix all this I propose that if a port has been started, we don't allow it to be passed to postMessage. If that is done an exception is thrown. Could you please explain how this scenario is affected by the port

Re: [whatwg] Workers feedback

2008-11-14 Thread Jonas Sicking
Alexey Proskuryakov wrote: Nov 14, 2008, в 10:00 AM, Jonas Sicking написал(а): What are the use cases? Also note that we can't use it with shared workers since they can be connected to several pages from different uris. It returns the script's URL, not the page's. Oh?! Then I understand

Re: [whatwg] Sending MessagePorts after they have started

2008-11-14 Thread Alexey Proskuryakov
Nov 14, 2008, в 11:31 PM, Jonas Sicking написал(а): Could you please explain how this scenario is affected by the port being started? Messages are queued in closed ports until those are started, so I think that it applies word to word to closed ports. Where the messages are queued are an

Re: [whatwg] attribute media on script element

2008-11-14 Thread Ian Hickson
On Fri, 14 Nov 2008, Filippo Levizzani wrote: Would it be possible to have media attribute in the SCRIPT element? Addmitted vaues would be the same of STYLE element (all, screen, print, handheld ...) This doesn't really work because media queries are supposed to change dynamically. The

[whatwg] Bug in worker example 1.2.5

2008-11-14 Thread ben turner
Example 1.2.5 Delegation has a bug in it. The subworker defines a function do, which I guess is technically ok, but then calls it like this: do();. This triggers an exception. Let's rename the function to something less evil. -Ben

Re: [whatwg] Sending MessagePorts after they have started

2008-11-14 Thread Jonas Sicking
Alexey Proskuryakov wrote: Nov 14, 2008, в 11:31 PM, Jonas Sicking написал(а): Could you please explain how this scenario is affected by the port being started? Messages are queued in closed ports until those are started, so I think that it applies word to word to closed ports. Where the

Re: [whatwg] Sending MessagePorts after they have started

2008-11-14 Thread Aaron Boodman
On Fri, Nov 14, 2008 at 4:33 PM, Jonas Sicking [EMAIL PROTECTED] wrote: Hmm.. this makes a lot of sense for importScripts, but for XHR you probably want the baseURI to be that of the opening page, since it's quite likely that the opening page gave you a URI to open and process. My expectation

Re: [whatwg] Sending MessagePorts after they have started

2008-11-14 Thread Michael Nordman
On Fri, Nov 14, 2008 at 4:37 PM, Aaron Boodman [EMAIL PROTECTED] wrote: On Fri, Nov 14, 2008 at 4:33 PM, Jonas Sicking [EMAIL PROTECTED] wrote: Hmm.. this makes a lot of sense for importScripts, but for XHR you probably want the baseURI to be that of the opening page, since it's quite

Re: [whatwg] Sending MessagePorts after they have started

2008-11-14 Thread Jonas Sicking
Aaron Boodman wrote: On Fri, Nov 14, 2008 at 4:33 PM, Jonas Sicking [EMAIL PROTECTED] wrote: Hmm.. this makes a lot of sense for importScripts, but for XHR you probably want the baseURI to be that of the opening page, since it's quite likely that the opening page gave you a URI to open and

Re: [whatwg] Reworking the media load() algorithm so that it tries more than one video

2008-11-14 Thread Philip Jägenstedt
The changes look like improvements to me, but I have some questions. 1. Is there any particular reason why step 7 generate the list of potential media resources is done in the synchronous part of the algorithm? Would it for example be an error to consider playing sources added in a loadstart

Re: [whatwg] Exposing UA information to workers

2008-11-14 Thread Aaron Boodman
Jonas asked me about this in IRC, and specifically why I suggested appCodeName (since everyone claims they are Mozilla). My thinking was: a) Browser detection is a mess, scripts use everything on the navigator object (often incorrectly) to try and figure out which browser is which b) HTML5 may

Re: [whatwg] Scripted querying of video capabilities

2008-11-14 Thread Ian Hickson
On Thu, 16 Oct 2008, Robert O'Callahan wrote: I have added window.navigator.canPlayType(mimeType). It returns 1, 0, or -1 to represent positive, neutral, and negative responses. navigator.canPlayType could be confusing since authors might think it includes media playable via plugins