Author: bargull
Date: 2007-10-24 16:59:05 -0700 (Wed, 24 Oct 2007)
New Revision: 7003
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/LzUtils.lzs
Log:
Change 20071024-bargull-6 by [EMAIL PROTECTED] 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:
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/LzUtils.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/LzUtils.lzs 2007-10-24 23:24:32 UTC
(rev 7002)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/LzUtils.lzs 2007-10-24 23:59:05 UTC
(rev 7003)
@@ -99,7 +99,7 @@
}
if (typeof c == 'number') {
- var hex = LzUtils.dectohex(c, 6);
+ var hex = LzUtils.dectohex(c & 0xffffff, 6);
c = '#' + hex;
}
return c;
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins