qingyangmoke / explorercanvas

Explorercanvas (excanvas.js) is an open source, Apache-licensed JavaScript library that implements the canvas API in Internet Explorer
Apache License 2.0
0 stars 0 forks source link

Does not clean state on resize #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
According to the canvas spec, setting width or height should clear the state in 
addition to resizing the canvas. As far as I can tell, excanvas clears the VML, 
but doesn't actually go back to the default values of the context state 
variables, e.g. lineWidth, globalAlpha. 

Firefox 3.6 does clear them.

Original issue reported on code.google.com by olau%iol...@gtempaccount.com on 15 Mar 2011 at 8:36