[Laszlo-dev] [Laszlo-checkins] r13445 - in openlaszlo/trunk: WEB-INF/lps/lfc/kernel/dhtml lps/admin

Philip Romanik promanik at laszlosystems.com
Tue Mar 24 13:18:25 PDT 2009


I saw it too. I re-opened LPP-7971 and I'll submit another changeset. 
If a percentage is specified I won't call (or set) this._h or this._w.

Thanks!

Phil


>With this change I see warnings for canvases that have height/width of
>100% - the default size, e.g. this:
>
>my-apps/copy-of-hello.lzx?lzr=dhtml&debug=true
>
>warns:
>WARNING: LzSprite.prototype.CSSDimension: coerced '100%' to 0
>WARNING: LzSprite.prototype.CSSDimension: coerced '100%' to 0
>
><mailto:pbr at openlaszlo.org>pbr at openlaszlo.org wrote:
> > Author: pbr
> > Date: 2009-03-24 06:03:24 -0700 (Tue, 24 Mar 2009)
> > New Revision: 13445
> >
> > Modified:
> >    openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
> >    openlaszlo/trunk/lps/admin/dev-console.lzx.js
> > Log:
> > Change 20090323-Philip-2 by Philip at Philip-DC on 2009-03-23 19:55:47 EDT
> >     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
> >     for 
> <http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk
> >
> > Summary: IE8/DHTML: Fix startup problem with dev-console
> >
> > New Features:
> >
> > Bugs Fixed: LPP-7971
> >
> > Technical Reviewer: max
> > QA Reviewer: (pending)
> > Doc Reviewer: (pending)
> >
> > Documentation:
> >
> > Release Notes:
> >
> > Details:
> >
> > skip-pre-commit-checks
> >
> >   When you start any lzx app in IE8 the dev-console generates an 
> error because this.__LZdiv.style.clip is set to an invalid value. 
> The fix is to make sure this._h and this._w are initialized 
> properly using CSSDimension().
> >
> >
> > Tests:
> > Run <canvas></canvas> in IE8/dhtml and no errors are reported. 
> Using the IE developer toolbar you can see the clipping value is set properly.
> >
> >
> > Files:
> > M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
> > M      lps/admin/dev-console.lzx.js
> >
> > Changeset: 
> <http://svn.openlaszlo.org/openlaszlo/patches/20090323-Philip-2.tar>http://svn.openlaszlo.org/openlaszlo/patches/20090323-Philip-2.tar
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090324/0bfb92a8/attachment.html


More information about the Laszlo-dev mailing list