Re: [whatwg] [canvas] request for {create, get, put}ImageDataHD and ctx.backingStorePixelRatio

2012-04-23 Thread Maciej Stachowiak
On Apr 22, 2012, at 7:10 PM, Glenn Maynard wrote: On Sun, Apr 22, 2012 at 8:03 PM, Maciej Stachowiak m...@apple.com wrote: All JavaScript that runs on the main thread has the potential to freeze the UI for all pages sharing that thread. APIs on the main thread are designed to allow

Re: [whatwg] Encoding Sniffing

2012-04-23 Thread Henri Sivonen
On Sat, Apr 21, 2012 at 1:21 PM, Anne van Kesteren ann...@opera.com wrote: This morning I looked into what it would take to define Encoding Sniffing. http://wiki.whatwg.org/wiki/Encoding#Sniffing has links as to what I looked at (minus Opera internal). As far as I can tell Gecko has the most

Re: [whatwg] Encoding Sniffing

2012-04-23 Thread Julian Reschke
On 2012-04-23 10:19, Henri Sivonen wrote: ... * The Universal detector is used regardless of UI setting or locale when using the FileReader to read a local file as text. (I'm personally very unhappy about this sort of use of heuristics in a new feature.) ... +1 ... WebVTT is a new format

Re: [whatwg] Readiness of script-created documents

2012-04-23 Thread Henri Sivonen
On Mon, Jun 20, 2011 at 3:10 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Jun 20, 2011 at 4:26 AM, Henri Sivonen hsivo...@iki.fi wrote: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1039 It says complete in Firefox, loading in Chrome and Opera and uninitialized in IE. The

[whatwg] createTBody on the table element.

2012-04-23 Thread Alexis Menard
Hello everyone, I was looking at http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#dom-table-createtbody and I wonder why it was added. For now none of the browsers seem to implement it. I proposed a patch for WebKit but I'm wondering why this method exists as you can

[whatwg] Proposal for readyState behavior

2012-04-23 Thread Henri Sivonen
I propose we adopt the following rules: 1) Every document that's being built by a parser or being built by an XSLT engine has loading as its readyState. Rationale: * This is intuitive. * It makes sense to make the XSLT experience as similar as possible to the parser experience

Re: [whatwg] createTBody on the table element.

2012-04-23 Thread Ian Hickson
On Mon, 23 Apr 2012, Alexis Menard wrote: I was looking at http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#dom-table-createtbody and I wonder why it was added. For now none of the browsers seem to implement it. I proposed a patch for WebKit but I'm

Re: [whatwg] createTBody on the table element.

2012-04-23 Thread Alexis Menard
On Mon, Apr 23, 2012 at 1:43 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 23 Apr 2012, Alexis Menard wrote: I was looking at http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#dom-table-createtbody and I wonder why it was added. For now none of the browsers seem to

[whatwg] [Canvas] Text height

2012-04-23 Thread Tyler Larson
The measureText method in canvas' 2d context only returns the width of a span of text. Why not the height? I understand the desire to keep text rendering simple but for people that want to expand on this even a little bit needing to work around not having access to the height only complicates

Re: [whatwg] [canvas] request for {create, get, put}ImageDataHD and ctx.backingStorePixelRatio

2012-04-23 Thread Darin Fisher
On Tue, Apr 17, 2012 at 9:12 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 4/17/12 6:32 PM, Darin Fisher wrote: In Chrome at least, getImageData() doesn't actually block to fetch pixels. The thread is only blocked when the first dereference of the pixel buffer occurs. How does that

Re: [whatwg] [canvas] request for {create, get, put}ImageDataHD and ctx.backingStorePixelRatio

2012-04-23 Thread Darin Fisher
On Sun, Apr 22, 2012 at 6:03 PM, Maciej Stachowiak m...@apple.com wrote: On Apr 20, 2012, at 6:53 AM, Glenn Maynard wrote: On Thu, Apr 19, 2012 at 11:28 PM, Maciej Stachowiak m...@apple.com wrote: You could also address this by adding a way to be notified when the contents of an ImageData

Re: [whatwg] Encoding Sniffing

2012-04-23 Thread Alexey Proskuryakov
21.04.2012, в 3:21, Anne van Kesteren написал(а): 1) Is this something we want to define and eventually implement the same way? I think that the general direction should be getting rid of encoding sniffing. It's very rarely helpful if ever, and implementations are wildly different. WebKit

[whatwg] [canvas] matrix based changes on bitmaps

2012-04-23 Thread Tyler Larson
Can we add matrix transformations? Looping over every pixel in JavaScript is slow. Many cool things could be taken care of much faster if the canvas had some form of matrix manipulations built in. All of the pixels could have one transformation operation defined and all of the pixels could be

[whatwg] Administrivia

2012-04-23 Thread Ian Hickson
Last year the W3C introduced a new framework for people developing specifications, which they call Community Groups (CGs). Since then we have moved a few parts of the HTML standard under CGs, most notably Aryeh's HTML Editing APIs specification [1], which replaced the old execCommand() spec

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-04-23 Thread Charles Pritchard
On 4/23/2012 2:38 PM, Tyler Larson wrote: Can we add matrix transformations? Looping over every pixel in JavaScript is slow. Many cool things could be taken care of much faster if the canvas had some form of matrix manipulations built in. All of the pixels could have one transformation

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-04-23 Thread Boris Zbarsky
On 4/23/12 5:57 PM, Charles Pritchard wrote: Currently, if you want to do fast operations on a Canvas, you need to load it into WebGL and use GLSL to do your quick vector math. It'd be nice to see a math object for Typed Arrays with similar power.

Re: [whatwg] [canvas] request for {create, get, put}ImageDataHD and ctx.backingStorePixelRatio

2012-04-23 Thread Glenn Maynard
On Mon, Apr 23, 2012 at 12:43 PM, Darin Fisher da...@chromium.org wrote: That said, I've come around to being OK with getImageDataHD. As I wrote recently, this is because it is possible to implement that in a non-blocking fashion. It can just queue up a readback. It only becomes necessary

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-04-23 Thread Charles Pritchard
On 4/23/2012 6:18 PM, Boris Zbarsky wrote: On 4/23/12 5:57 PM, Charles Pritchard wrote: Currently, if you want to do fast operations on a Canvas, you need to load it into WebGL and use GLSL to do your quick vector math. It'd be nice to see a math object for Typed Arrays with similar power.

Re: [whatwg] [canvas] request for {create, get, put}ImageDataHD and ctx.backingStorePixelRatio

2012-04-23 Thread Charles Pritchard
On 4/23/2012 6:50 PM, Glenn Maynard wrote: On Mon, Apr 23, 2012 at 12:43 PM, Darin Fisherda...@chromium.org wrote: That said, I've come around to being OK with getImageDataHD. As I wrote recently, this is because it is possible to implement that in a non-blocking fashion. It can just queue

Re: [whatwg] IBM864 mapping of Encoding Standard

2012-04-23 Thread Makoto Kato
(2012/04/20 17:09), Anne van Kesteren wrote: On Fri, 20 Apr 2012 09:58:52 +0200, Makoto Kato m_k...@ga2.so-net.ne.jp wrote: I have a question of Encoding standard of http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html. Gecko supports IBM864, but it is different of old IBM864. It is