Today I got latest from the subversion repository and am now getting an error (in IE 7) in some code related to MochiKit.Color.Color.fromBackground when I was not before (i.e. it used to work fine, now it doesn't).
MochiKit.Color.Color.fromBackground calls MochiKit.Color.Color.fromComputedStyle, which *used* to call out to MochiKit.Style.computedStyle and now calls MochiKit.Style.getStyle. I have narrowed the breaking change down to that point, but can't seem to get much further (because I don't have the time at this very moment nor yet the understanding of what is going on) and simply wanted to provide an example of what used to work - if you run the following example against the *current* code base, it will work in FireFox but not IE 7: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript" src="MochiKit/MochiKit.js"></script> <script type="text/javascript"> connect(window, "onload", function() { var mySpan = SPAN(null, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit."); alert(Color.fromBackground(mySpan).toHexString()); }); </script> </head> <body> </body> </html> Wish I could do a better job debugging this; if no one has any immediate ideas on how this might be fixed, I will see if I can look at it in the next week.... Thanks _________________________________________________________________ Get FREE company branded e-mail accounts and business Web site from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
