Change 20090324-Philip-2 by Philip@Philip-DC on 2009-03-24 16:57:55 EDT     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk     for http://svn.openlaszlo.org/openlaszlo/trunk
Change 20090324-Philip-2 by Philip@Philip-DC on 2009-03-24 16:57:55 EDT
    in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: IE8/DHTML: Fix warning when width/height is specified as %

New Features:

Bugs Fixed: LPP-7971

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
My last change went too far. If a percentage is specified for a view, you will get a warning if you call CSSDimension() on it. I re-ordered the code in the constructor to set width/height variables. If a percentage is specified, this._w and this._h is set directly. Otherwise, use CSSDimension().

Tests:
  <canvas debug="true"> 
  </canvas>

This does not show any warnings in dhtml in any browser.

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

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090324-Philip-2.tar


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

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