W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2013

Re: [whatwg] Challenging canvas.supportsContext

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 19 Jun 2013 16:24:47 -0400
Message-ID: <51C2138F.40406@mit.edu>
To: whatwg@lists.whatwg.org
On 6/19/13 4:22 PM, Brandon Benvie wrote:
> The point of using Modernizr or something like it is to detect
> availability of features on page load, and then conditionally load
> polyfills/alternate fallback implementations. It specifically does need
> to do eager detection to be useful. It can't wait until the first usage
> to do feature detection; it needs to be done up front when preparing
> dependencies for the main application.

I see.  For this use case, the current definition of supportsContext is 
of limited utility, unless you make some assumptions about behavior that 
the spec does not require....

Received on Wednesday, 19 June 2013 20:25:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:00 UTC