Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Simon Pieters
On Mon, 24 Jun 2013 23:31:59 +0200, Dean Jackson d...@apple.com wrote: Also, the presence of window.WebGLRenderingContext doesn't necessarily indicate that WebGL is supported. On iOS for example, that object is available in Safari but calling getContext('webgl') fails. The supportsContext

Re: [whatwg] Provide a system to observe nodes entering and leaving the viewport

2013-06-25 Thread louis-rémi Babé
Hi Simon, The first two points are already answered in the bug, and I will see if I can find people at Mozilla interested in implementing this feature. On 24 June 2013 09:21, Simon Pieters sim...@opera.com wrote: On 6/23/13 3:37 PM, louis-rémi Babé wrote: Hi, I've opened a bug about a

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Dean Jackson
On 25/06/2013, at 5:54 PM, Simon Pieters sim...@opera.com wrote: On Mon, 24 Jun 2013 23:31:59 +0200, Dean Jackson d...@apple.com wrote: Also, the presence of window.WebGLRenderingContext doesn't necessarily indicate that WebGL is supported. On iOS for example, that object is available in

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Simon Pieters
On Tue, 25 Jun 2013 21:01:27 +0200, Dean Jackson d...@apple.com wrote: Showing or hiding interface objects is not something I want to do. It's possible that I missed it, but, why not? There is precedent for doing so. For instance, in Opera 11, the WebSocket constructor was absent unless

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Glenn Maynard
On Tue, Jun 25, 2013 at 3:28 PM, Simon Pieters sim...@opera.com wrote: On Tue, 25 Jun 2013 21:01:27 +0200, Dean Jackson d...@apple.com wrote: Showing or hiding interface objects is not something I want to do. It's possible that I missed it, but, why not? There is precedent for doing so.

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Jonas Sicking
On Tue, Jun 25, 2013 at 10:28 PM, Simon Pieters sim...@opera.com wrote: On Tue, 25 Jun 2013 21:01:27 +0200, Dean Jackson d...@apple.com wrote: Showing or hiding interface objects is not something I want to do. It's possible that I missed it, but, why not? I have the same question. The whole

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Simon Pieters
On Wed, 26 Jun 2013 01:39:01 +0200, Glenn Maynard gl...@zewt.org wrote: This is done if the feature is being disabled completely at page load time, with no chance of it coming back: you simply don't put the interface into the environment. WebGL is different, since it might go away after the

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Jonas Sicking
On Wed, Jun 26, 2013 at 1:39 AM, Glenn Maynard gl...@zewt.org wrote: On Tue, Jun 25, 2013 at 3:28 PM, Simon Pieters sim...@opera.com wrote: On Tue, 25 Jun 2013 21:01:27 +0200, Dean Jackson d...@apple.com wrote: Showing or hiding interface objects is not something I want to do. It's

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Glenn Maynard
On Tue, Jun 25, 2013 at 6:48 PM, Simon Pieters sim...@opera.com wrote: On Wed, 26 Jun 2013 01:39:01 +0200, Glenn Maynard gl...@zewt.org wrote: This is done if the feature is being disabled completely at page load time, with no chance of it coming back: you simply don't put the interface