Change 20090309-Philip-8 by Philip@Philip-DC on 2009-03-09 15:45:16 EDT     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk     for http://svn.openlaszlo.org/openlaszlo/trunk
Change 20090309-Philip-8 by Philip@Philip-DC on 2009-03-09 15:45:16 EDT
    in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix IE/DHTML when specifying +/- Infinity

New Features:

Bugs Fixed: LPP-7860

Technical Reviewer: ptw
QA Reviewer: andre
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
As discussed in the bug report I modified CSSDimension to transform +/- Infinity into the the largest/smallest possible values. NaN is transformed into 0.

I removed the isNaN checks in setX, setY, setWidth, setHeight so the dhtml runtime is consistent with swf/swf9. These methods call CSSDimension so NaN is converted to 0.

Tests:
See the testcase I posted in jira. It produces the same output in all runtimes, and runs without error in IE7.

smokecheck, lzpix in dhtml.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090309-Philip-8.tar


git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@13279 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo