donum / curvycorners

Automatically exported from code.google.com/p/curvycorners
0 stars 0 forks source link

Animated backgrounds don't work for dynamic curvyCorners #78

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Animate a changing background color

What is the expected output? What do you see instead?

I expect the curvyCorners to change their color when I call 
curvyCorners.redraw(). Instead, they end up deleting themselves from the 
DOM, and/or the background doesn't change colors since it keeps a static 
copy of the CSS.

What version of the product are you using? On what operating system?

SVN, IE8

Please provide any additional information below.

By doing this:

      var tmp = new curvyCnrSpec('CCClass');
      tmp.setcorner(0,0,15,'px');
      CCObj = new curvyObject(tmp,document.getElementById('CCClass'));
      CCObj.applyCorners();

It animates fine, but then the DOM elements get all left behind in the 
redered page. Yet, it is perfomant enough, so with a little work it could 
do just fine.

Original issue reported on code.google.com by khub...@gmail.com on 8 May 2010 at 11:03

GoogleCodeExporter commented 9 years ago
Yes, we have a performance/speed issue here really. If you think it's an 
important issue, and you have the patience to modify the redraw code to do what 
you want, please send it to us and we'll create a "performance" branch.

Original comment by c.1%smit...@gtempaccount.com on 24 Sep 2010 at 11:44