Re: [whatwg] Consecutive hyphen-minus characters in comments/in ACE-strings of IDNs

2011-01-07 Thread Anne van Kesteren
On Fri, 07 Jan 2011 02:10:26 +0100, Ian Hickson i...@hixie.ch wrote: The question, I guess, is which of the following do we think is more important: * Helping authors not write HTML markup that might be hard to convert to XML, and helping authors avoid nesting comments accidentally, by

[whatwg] Bouncing messages that are replies to whatwg Digest

2011-01-07 Thread timeless
Would it be possible to configure the list serv to bounce messages of the form: /.*: whatwg Digest/ Most of us [1] simply reply to the message we get, not paying much attention to the summary. (Some do fix the Subject, and there's one kind soul who is fighting to improve our habits.) I'm

Re: [whatwg] whatwg Digest, Vol 82, Issue 10

2011-01-07 Thread Roger Hågensen
On 2011-01-06 14:09, timeless wrote: I'm kinda surprised that servers and CAs don't have better support for reminding admins of this stuff. I know for mozilla.org, nagios is responsible for warning admins. The odd thing (to me) is that CAs make money selling certs, so one would expect them to

Re: [whatwg] whatwg Digest, Vol 82, Issue 10

2011-01-07 Thread Glenn Maynard
On Fri, Jan 7, 2011 at 5:50 AM, Roger Hågensen resca...@emsai.net wrote: This is why I like StartSSL.com so much (besides the free domain and email certs), is that the pay certs are actually for the authentication/certification process, the actual certs themselves are free, and you can issue

[whatwg] WebWorkers and images

2011-01-07 Thread Berend-Jan Wever
Hey all, I read that giving WebWorkers access to the DOM is apparently a bad idea: http://forums.whatwg.org/viewtopic.php?t=4437 However, the page does not mention why. I'd like to know :) I ask because I wanted to port an image manipulation script to a WebWorker, but found out that WebWorkers

Re: [whatwg] WebWorkers and images

2011-01-07 Thread David Bruant
Le 07/01/2011 12:24, Berend-Jan Wever a écrit : Hey all, I read that giving WebWorkers access to the DOM is apparently a bad idea: http://forums.whatwg.org/viewtopic.php?t=4437 However, the page does not mention why. I'd like to know :) When you say the DOM, it could mean two things : - the

Re: [whatwg] WebWorkers and images

2011-01-07 Thread Benjamin Poulain
Hi, On 01/07/2011 12:24 PM, ext Berend-Jan Wever wrote: I assume you've discussed this before, but couldn't find any record. Please let me know if there is a document somewhere that explains why WebWorkers have so little access to browser features. I did not see the original discussion but

Re: [whatwg] Specification of window.find()

2011-01-07 Thread Benjamin Poulain
On 01/06/2011 10:53 PM, ext Ian Hickson wrote: On Wed, 27 Oct 2010, benjamin.poul...@nokia.com wrote: I would like to suggest a change for the main HTML 5 specification: http://www.whatwg.org/specs/web-apps/current-work/ The problem I have is with the Window object specification

Re: [whatwg] WebWorkers and images

2011-01-07 Thread Berend-Jan Wever
Thanks guys, that makes sense (unfortunately). So, would it be possible: 1) To give WebWorkers access to the DOM API so they can create their own elements such as img, canvas, etc...? 2) To create a way to communicate media data between web workers and pages without serialization, so they can

Re: [whatwg] whatwg Digest, Vol 82, Issue 10

2011-01-07 Thread Kornel Lesiński
On Fri, 07 Jan 2011 11:11:55 -, Glenn Maynard gl...@zewt.org wrote: I gave it a try earlier, since it was mentioned. It created my account, rejected my CSR, and I got a message saying that I somehow failed to create a login certificate, that I'd no longer be able to log in, and according

Re: [whatwg] WebWorkers and images

2011-01-07 Thread David Bruant
Le 07/01/2011 14:40, Berend-Jan Wever a écrit : Thanks guys, that makes sense (unfortunately). So, would it be possible: 1) To give WebWorkers access to the DOM API so they can create their own elements such as img, canvas, etc...? As I mentionned, Ian Hickson's response also covers provoding

Re: [whatwg] WebWorkers and images

2011-01-07 Thread Berend-Jan Wever
As I mentionned, Ian Hickson's response also covers provoding the DOM API since DOM implementations (besides the document object) aren't thread-safe. I'm not sure I understand: - a single WebWorker always runs in only one thread, even though there may be multiple WebWorkers running on the same

[whatwg] HTML5 video: frame accuracy / SMPTE

2011-01-07 Thread Rob Coenen
Hello list, are there any plans on adding frame accuracy and/or SMPTE support to HTML5 video? As far as I know it's currently impossible to play HTML5 video frame-by-frame, or seek to a SMPTE compliant (frame accurate) time-code. The nearest seek seems to be precise to roughly 1-second (or

Re: [whatwg] HTML5 video: frame accuracy / SMPTE

2011-01-07 Thread Eric Carlson
On Jan 7, 2011, at 8:22 AM, Rob Coenen wrote: are there any plans on adding frame accuracy and/or SMPTE support to HTML5 video? As far as I know it's currently impossible to play HTML5 video frame-by-frame, or seek to a SMPTE compliant (frame accurate) time-code. The nearest seek seems

Re: [whatwg] WebWorkers and images

2011-01-07 Thread Boris Zbarsky
On 1/7/11 10:25 AM, Berend-Jan Wever wrote: - a single WebWorker always runs in only one thread, even though there may be multiple WebWorkers running on the same thread, right? No. For example, in Gecko a given webworker only runs on one thread at any given moment, but that thread can change

Re: [whatwg] Specs for window.atob() and window.btoa()

2011-01-07 Thread Aryeh Gregor
On Fri, Jan 7, 2011 at 12:01 AM, Boris Zbarsky bzbar...@mit.edu wrote: For what it's worth, Firefox's behavior for atob (based on reading the source code, sorta) is the following (ignoring various exceptions on allocation failures and the like): 1)  If the input string contains any 16-bit

Re: [whatwg] Consecutive hyphen-minus characters in comments/in ACE-strings of IDNs

2011-01-07 Thread Aryeh Gregor
On Thu, Jan 6, 2011 at 8:10 PM, Ian Hickson i...@hixie.ch wrote: Currently the spec assumes the former is more important. Personally, I think the latter is rather more useful, but then I use -- as long dashes all the time! When this was last studied, the weight of argument was on the stricter

Re: [whatwg] Specs for window.atob() and window.btoa()

2011-01-07 Thread Boris Zbarsky
On 1/7/11 12:27 PM, Aryeh Gregor wrote: 1) If the input string contains any 16-bit units whose value is greater than 0xff, throw INVALID_CHARACTER_ERR. This seems redundant with step 4 below. It's not, because after this step the input JS string is converted into a byte buffer by dropping

Re: [whatwg] Consecutive hyphen-minus characters in comments/in ACE-strings of IDNs

2011-01-07 Thread Henri Sivonen
I'm open to changing this back; does anyone else have an opinion on this? I'd prefer to keep the cases where infoset coercion has to kick in for valid documents to a minimum. (But I might be optimizing the wrong thing if the larger population doesn't care about infosets.) -- Henri Sivonen

Re: [whatwg] Specs for window.atob() and window.btoa()

2011-01-07 Thread Joshua Bell
On Fri, Jan 7, 2011 at 9:27 AM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: On Fri, Jan 7, 2011 at 12:01 AM, Boris Zbarsky bzbar...@mit.edu wrote: Note that it's not that uncommon to use atob on things that came from other base64-producing tools, not just from

[whatwg] ArrayBuffer and the structured clone algorithm

2011-01-07 Thread David Flanagan
The structured clone algorithm currently allows ImageData and Blob objects to be cloned but doesn't mention ArrayBuffer. Is this intentional? I assume there are no security issues involved, since one could copy the bytes of an ArrayBuffer into either a Blob or an ImageData object in order to

Re: [whatwg] Make radio button group suffering from being missing

2011-01-07 Thread Ian Hickson
On Thu, 4 Nov 2010, Mounir Lamouri wrote: Currently, when a radio button is required, it will suffer from being missing if no radio elements in the radio button group is checked. However, radio elements in the group will not suffer from being missing if they do not have the required

Re: [whatwg] Timeouts and monotonic vs clock time

2011-01-07 Thread Ian Hickson
On Thu, 4 Nov 2010, and-py wrote: Here's a curious little issue. When you use `setTimeout` or `setInterval`, the HTML5 spec seems to say that the callback should occur after a certain amount of actual time has elapsed. But what browsers might do is take the system clock, add the given

Re: [whatwg] Device Element

2011-01-07 Thread dresende
On Tue, 4 Jan 2011 22:09:20 +, Bjartur Thorlacius wrote: On 1/4/11, Diogo Resende drese...@thinkdigital.pt wrote: Flash is insecure because there's no security policies. It's similiar to the firefox feature to read files: you read all or you read none. That's not a good policy. Something

Re: [whatwg] Timeouts and monotonic vs clock time

2011-01-07 Thread Glenn Maynard
On Fri, Jan 7, 2011 at 5:17 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 4 Nov 2010, and-py wrote: When you use `setTimeout` or `setInterval`, the HTML5 spec seems to say that the callback should occur after a certain amount of actual time has elapsed. But what browsers might do is take the

Re: [whatwg] WebWorkers and images

2011-01-07 Thread David Levin
On Fri, Jan 7, 2011 at 3:24 AM, Berend-Jan Wever skyli...@chromium.orgwrote: I ask because I wanted to port an image manipulation script to a WebWorker, but found out that WebWorkers have no way to use elements such as canvas and img. fwiw, ImageData can be used in a worker. Many folks have

[whatwg] Unnecessary loading of fallback content in canvas element

2011-01-07 Thread Charles Pritchard
Let me know if this has been discussed before: Loading an html page containing: canvasimg src=fallback.jpg //canvas loads the fallback.jpg image, even when canvas is supported. Is this intentional, or simply the easiest route for the moment? -Charles

Re: [whatwg] Timeouts and monotonic vs clock time

2011-01-07 Thread And Clover
On Fri, 2011-01-07 at 18:03 -0500, Glenn Maynard wrote: Do you have a link to the original message with this text? http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-November/028945.html I'm surprised if browsers don't make use of [monotonic time interfaces]. Summary: typically they do,

Re: [whatwg] WebWorkers and images

2011-01-07 Thread Glenn Maynard
On Fri, Jan 7, 2011 at 6:22 PM, David Levin le...@chromium.org wrote: fwiw, ImageData can be used in a worker. Many folks have argued that canvas isn't that useful in a worker and that the gpu acceleration will make it less useful (and that most image manipulation would be able to use ImageData

Re: [whatwg] Low Memory Event

2011-01-07 Thread Charles Pritchard
Date: Sun, 02 Jan 2011 04:59:14 -0600 From: Boris Zbarsky bzbar...@mit.edu On 1/1/11 6:53 PM, Charles Pritchard wrote: ArrayBuffer and Canvas use contiguous memory segments. You don't need a complex GC pass to let those ones go. Yes, you do. You can't let go of the canvas buffer without

Re: [whatwg] question on @width and @height attributes on video

2011-01-07 Thread Ian Hickson
On Mon, 8 Nov 2010, Silvia Pfeiffer wrote: I am staring at the @width and @height attributes of the video element, because I have just noticed that the implementation of IE9 doesn't respect percentage values in there. I remembered Hixie saying that if you gave them a value that included

Re: [whatwg] [html5] r5671 - [e] (0) expand colloquial abbreviations

2011-01-07 Thread Ian Hickson
On Mon, 8 Nov 2010, Simon Pieters wrote: On Fri, 05 Nov 2010 21:10:50 +0100, wha...@whatwg.org wrote: + bidirectional algorithm may be implemented indirectly through the + style layer. For example, an HTML+CSS user agent should implement + these requirements by implementing the CSS

Re: [whatwg] WebWorkers and images

2011-01-07 Thread Drew Wilson
I would recommend that people review this thread: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-February/025254.htmlto understand the objections previously raised to this idea. -atw On Fri, Jan 7, 2011 at 4:08 PM, Glenn Maynard gl...@zewt.org wrote: On Fri, Jan 7, 2011 at 6:22 PM,

Re: [whatwg] WebWorkers and images

2011-01-07 Thread Glenn Maynard
On Fri, Jan 7, 2011 at 8:16 PM, Drew Wilson atwil...@chromium.org wrote: I would recommend that people review this thread: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-February/025254.html to understand the objections previously raised to this idea. To comment on one thing in