Hi Fritz,

On Wednesday 09 September 2009 Fritz Zaucker wrote:
> Hi,
>
> when doing
>
>       root.setBlockerColor("grey");
>
> this works just fine with Firefox and Chrome. IE8 either works as well or
> ignores it. IE7 thinks "grey" is invalid and dies in
>
>       framework/source/class/qx/bom/element/Style.js
>
> line 369:   element.style[name] = value !== null ? value : "";
>
> Now, I guess it can be argued that this is my fault (for not using a
> hex-value and an 'invalid' color string).
>
> But I guess this could happen to others as well and will of course happen
> for other 'invalid' style assignments as well.
>
> It is rather hard to figure out as IE7 just dies with an error (at least in
> the build version). I didn't catch it in the source version, as I don't
> have a Windows setup for development and my development browsers (Firefox
> and Chrome under Linux) don't have that problem.
>
> I finally identified the problem with
>
>        try {
>                element.style[name] = value !== null ? value : "";
>        }
>        catch(e) {
>                alert('e='+e+', name='+name+', value='+value);
>        }
>
>
> I wonder if it would be appropriate to put that into the Qooxdoo code.
Looks like an issue we should definetely inspect. Can you please open a bug 
report for this one?

thanks,
  Alex

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to