[Laszlo-dev] For Review: Change 20071024-bargull-6 Summary: Convert LzUtils.color.inttohex arg to a 24bit positive integer
André Bargull
a.bargull at intensis.de
Wed Oct 24 16:29:31 PDT 2007
I cannot reproduce this issue with my IE6 under WinXP.
"LzUtils.color.inttohex(16777115.1418555)" prints '#ffff9b', just like
it should...
Mysterious...did you forget to clear your browser-cache...?
What do you get if you type this into the console?
16777115.1418555 & 0xffffff
- André
On 10/25/2007 1:02 AM, Philip Romanik wrote:
> There is a problem with this change in IE6. The test case in LPP-4909
> doesn't work in IE6. You can see this from the console:
>
> lzx> LzUtils.color.inttohex(16777115.1418555)
> '#ffff9b.2450a46'
>
>
>> Change 20071024-bargull-6 by bargull at dell--p4--2-53 on 2007-10-24
>> 01:01:37 in /home/Admin/src/svn/openlaszlo/trunk/WEB-INF/lps/lfc
>> for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
>>
>> Summary: Convert LzUtils.color.inttohex arg to a 24bit positive integer
>>
>> New Features:
>>
>> Bugs Fixed:
>> LPP-4909 - "Invalid property value when animating bgcolor in IE7
>> DHTML w/ trunk build 6836"
>>
>> Technical Reviewer: max
>> QA Reviewer: promanik
>> Doc Reviewer: (pending)
>>
>> Documentation:
>>
>> Release Notes:
>>
>> Details:
>> Setting LzView#bgcolor to a float value, a value greater than
>> 0xffffff or to a negative value doesn't emit any warnings anymore in
>> DHTML.
>> Also resolved an issue when you set bgcolor to a string which cannot
>> be parsed to a numeric value. To test this, type into the
>> debugger-console LzUtils.color.inttohex("foo"). Beforehand, this
>> would print "#000NaN", now it prints "#000000".
>>
>>
>> Tests:
>>
>> Files:
>> M kernel/LzUtils.lzs
>>
>> Changeset:
>> http://svn.openlaszlo.org/openlaszlo/patches/20071024-bargull-6.tar
More information about the Laszlo-dev
mailing list