Community
Participate
Working Groups
Steps to reproduce: 1. Open Controls Demo -> Canvas Tab in IE 2. Select "Background gradient" checkbox 3. The background color of filled shapes disappears
This is actually not as trivial as i originally thought. While the colors can be restored easily, using css-filters (for opacity) also resets the shapes scaling on re-inserting it into the dom (ignoring its parents coordsize attribute). I have not yet found a bulletproof way around that problem.
Fixed in CVS HEAD. - The missing colors where fixed by improving the restore-mechanism in VML.js and GraphicsMixin.js. - The incorrect scaling was fixed by using a DIV as VML-canvs instead of a vml-group. This also made "setLayoutMode" unnecessary. - Also did some minor refactorings to VML.js in the process and included Tests. These changes will also be very helpful should we extend the GC/VML features.