Re: [whatwg] Proposal: downsample while decoding image blobs in createImageBitmap()

2013-12-17 Thread David Flanagan
On 12/17/13 10:55 PM, Rik Cabanier wrote: On Tue, Dec 17, 2013 at 9:36 PM, David Flanagan > wrote: On 12/17/13 8:36 PM, Rik Cabanier wrote: Hi David, is there a reason why you are completely decoding the image when you create the imageBitmap? [

[whatwg] Orientation fixing for mobile devices

2013-12-17 Thread Tingan Ho
It would be great if there was some kind of orientation fixing for the mobile web. Developers might develop portrait or landscape only web apps. And today there is noway to accomplish this. I think an attribute to the html tag would fit well *For landscape only:* *For portrait only:* -- Sin

Re: [whatwg] Proposal: downsample while decoding image blobs in createImageBitmap()

2013-12-17 Thread Rik Cabanier
On Tue, Dec 17, 2013 at 9:36 PM, David Flanagan wrote: > On 12/17/13 8:36 PM, Rik Cabanier wrote: > > Hi David, > > is there a reason why you are completely decoding the image when you > create the imageBitmap? [1] > > I assume that that is the intent of calling createImageBitmap() on a blob. >

Re: [whatwg] Proposal: downsample while decoding image blobs in createImageBitmap()

2013-12-17 Thread David Flanagan
On 12/17/13 8:36 PM, Rik Cabanier wrote: Hi David, is there a reason why you are completely decoding the image when you create the imageBitmap? [1] I assume that that is the intent of calling createImageBitmap() on a blob. Since JPEG decoding probably takes significantly longer than blocking

Re: [whatwg] Proposal: downsample while decoding image blobs in createImageBitmap()

2013-12-17 Thread Rik Cabanier
Hi David, is there a reason why you are completely decoding the image when you create the imageBitmap? [1] If you detect a situation where this operation causes excessive memory consumption, you could hold on to the compressed data URL and defer decoding until the point where it is actually needed

[whatwg] Proposal: downsample while decoding image blobs in createImageBitmap()

2013-12-17 Thread David Flanagan
This is a proposal for changes to ImageBitmap and createImageBitmap() to enable the memory-efficient display of large images on small screens. Background: The camera resolution on mobile devices has grown (and is continuing to grow) much faster than the screen size and memory of those devices. I

[whatwg] Media sink device selection on /

2013-12-17 Thread Ami Fischman
Recently Navigator acquired the ability to enumerate media output devices (in addition to input devices): http://dev.w3.org/2011/webrtc/editor/getusermedia.html#enumerating-devices It would be nice to allow media elements to direct their output

Re: [whatwg] Reporting mid-stream resolution change on

2013-12-17 Thread Ian Hickson
On Thu, 12 Dec 2013, Ami Fischman wrote: > On Thu, Dec 12, 2013 at 2:56 PM, Ian Hickson wrote: > > > > I suppose we could fire resize on initial load as well. I guess it > > depends on what code that uses this looks like. Is the initial size > > change the same kind of code as resizing, or is it

Re: [whatwg] Comments on

2013-12-17 Thread Ian Hickson
On Sat, 2 Nov 2013, Brian Blakely wrote: > On Sat, Nov 2, 2013 at 5:29 PM, Ian Hickson wrote: > > On Sat, 2 Nov 2013, Brian Blakely wrote: > > > > > > 1. When a modal dialog is active, the user can still scroll the > > > underlying page. > > > > Why is that a bug? > > By its nature, a modal view

Re: [whatwg] Comments on

2013-12-17 Thread Matt Falkenhagen
On Tue, Dec 17, 2013 at 8:13 PM, Scott González wrote: > jQuery UI uses open(), close(). Yep that was part of Ian's list above. I was just adding items to it.

Re: [whatwg] Comments on

2013-12-17 Thread Scott González
jQuery UI uses open(), close(). On Tue, Dec 17, 2013 at 1:15 AM, Matt Falkenhagen wrote: > On Fri, Sep 27, 2013 at 7:15 AM, Ian Hickson wrote: > > > > On Mon, 26 Aug 2013, Ojan Vafai wrote: > > > > > > IMO, showModalDialog is the legacy broken API we're stuck with. Better > > > to name the new