W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2014

Re: [whatwg] canvas context "alpha" attribute

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 12 Mar 2014 17:49:56 +0000 (UTC)
To: Rik Cabanier <cabanier@gmail.com>
Message-ID: <alpine.DEB.2.00.1403121748200.31525@ps20323.dreamhostps.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
On Wed, 12 Mar 2014, Rik Cabanier wrote:
>
> About a year ago, Google and mozilla proposed the "alpha" attribute as an
> option when you create the canvas context. The wiki explains the feature
> very well. [1]
> Since then, Google has implemented and shipped this [2][3]. There is a
> proposal to implement [4] and a patch [5] for firefox.
> 
> An author can "feature test" by setting alpha to false and reading a pixel
> in the context. If the pixel comes back with an alpha of 0, it means that
> it is not supported.
> 
> Could this be added to the HTML specification? [6]

It's being tracked here:

   https://www.w3.org/Bugs/Public/show_bug.cgi?id=23515

It's awaiting interest from a second vendor. It's not clear to me from the 
Mozilla bug whether Mozilla engineers actually support this.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 12 March 2014 17:51:02 UTC

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