Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New HTML5 Canvas API support

I have found several posts about new functions in HTML5 Canvas API, like Path primitives or Hit Regions. It seems that the current specification (4.8.11) has got these features: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#hit-regions

Althought the context.addHitRegion (context is canvas2d context) in my Chrome 23.0.1271.64 returns undefined (I cannot create Path primitives too).

Does somebody know when these features will be implemented (their annoucment is from march so it is 8 months old)?

Can I test them in some beta versions of some browsers (it would be best if it could be under linux)?

like image 832
Wojciech Danilo Avatar asked Nov 14 '12 12:11

Wojciech Danilo


1 Answers

Not for a while.

I asked both the Chrome team and the Firefox team about 1-2 months ago and neither of them had a concrete timeline. It doesn't yet seem to be a priority.

In an email correspondence of mine with FF people on October 28th they replied:

I assume you were referring to the Path / Pattern objects and related changes; there are—AFAIK—no immediate plans to implement them. Most of the work going into the 2D canvas implementation recently has been refactoring; in particular, we used to have two separate implementations, of which one has been removed a few weeks ago.

like image 145
Simon Sarris Avatar answered Oct 25 '22 08:10

Simon Sarris