- From: Anne van Kesteren <annevk@opera.com>
- Date: Sat, 19 Jun 2010 16:14:13 +0200
- To: public-html-comments@w3.org, "cheeseberger32@yahoo.com" <cheeseberger32@yahoo.com>
On Fri, 18 Jun 2010 22:18:14 +0200, cheeseberger32@yahoo.com <cheeseberger32@yahoo.com> wrote: > I was playing around with the new canvas tag in HTML5 and I spotted a > bug. I could not find any other reports of this happening, so I thought > I should report it to someone. If this is not the right place to report > a bug, I would greatly appreciate if you could point me in the right > direction. After searching long and hard, this seemed like a good place > to report this. > > While I was experimenting with the canvas tag in HTML5, I created > multiple canvas tags on one page. When I did this, all of my previous > canvases stopped working. Only the newly created canvas worked. > > I made a web page to put this to the test. Here is the link to the page: > http://www.freewebs.com/cheeseberger92/test/canvasbug.html > Click the button to create a new canvas tag (it will only add 3 > canvases). Every time a new canvas is added, the previous ones go blank. > > I tested this in Google Chrome, Firefox, and Opera. The same thing > happens in each browser. > > I appreciate the time you've taken to read this letter and I would like > to hear back from you regarding the status of this issue. Whenever you create a new <canvas> element you recreate the previously inserted <canvas> elements as well by using innerHTML in the way you do. Since you then not paint on the recreated <canvas> elements they will be blank. -- Anne van Kesteren http://annevankesteren.nl/
Received on Saturday, 19 June 2010 14:15:01 UTC