[Laszlo-dev] anyone know where these "LzSprite.prototype.CSSDimension: coerced NaN to 0" warnings come from?

Henry Minsky hminsky at laszlosystems.com
Wed Apr 15 14:47:32 PDT 2009


   When I run "ant lztest", I see these warnings. Note that the lztest is
running the app in the "fake DOM" that
we use in rhino, so maybe that harness needs updating?


  [exec] Entering runlztest.sh with LPS_HOME=/Users/hqm/openlaszlo/trunk5
tags=smoketest
     [exec]   covers-tags: class smoketest
     [exec] testing test/lztest/lztest-static-attrs.lzx...........
     [exec] Compiling: test/lztest/lztest-static-attrs.lzx to
test/lztest/lztest-static-attrs.js
     [exec] <a title="#1">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] <a title="#2">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] skipping test/lztest/lztest-textstyle.lzx, does not match tags
smoketest
     [exec]   covers-tags: lzview smoketest
     [exec] testing test/lztest/lztest-align.lzx...........
     [exec] Compiling: test/lztest/lztest-align.lzx to
test/lztest/lztest-align.js
     [exec] <a title="#1">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] <a title="#2">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec]   covers-tags: class smoketest
     [exec] testing test/lztest/lztest-class-impl.lzx...........
     [exec] Compiling: test/lztest/lztest-class-impl.lzx to
test/lztest/lztest-class-impl.js
     [exec] <a title="#1">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] <a title="#2">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec]   covers-tags : lzevent lzdelegate smoketest
     [exec] testing test/lztest/lztest-events.lzx...........
     [exec] Compiling: test/lztest/lztest-events.lzx to
test/lztest/lztest-events.js
     [exec] <a title="#1">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] <a title="#2">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec]   covers-tags : lznode lzcanvas smoketest
     [exec] testing test/lztest/lztest-ids.lzx...........
     [exec] Compiling: test/lztest/lztest-ids.lzx to
test/lztest/lztest-ids.js
     [exec] <a title="#1">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] <a title="#2">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] skipping test/lztest/lztest-lzbrowser.lzx, does not match tags
smoketest
     [exec] skipping test/lztest/lztest-lzdataelement.lzx, does not match
tags smoketest
     [exec]   covers-tags : lznode smoketest
     [exec] testing test/lztest/lztest-node-initsequence.lzx...........
     [exec] Compiling: test/lztest/lztest-node-initsequence.lzx to
test/lztest/lztest-node-initsequence.js
     [exec] <a title="#1">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] <a title="#2">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec]   covers-tags : lznode smoketest
     [exec] testing test/lztest/lztest-node-options.lzx...........
     [exec] Compiling: test/lztest/lztest-node-options.lzx to
test/lztest/lztest-node-options.js
     [exec] <a title="#1">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] <a title="#2">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec]   covers-tags : lznode smoketest
     [exec] testing test/lztest/lztest-node.lzx...........
     [exec] Compiling: test/lztest/lztest-node.lzx to
test/lztest/lztest-node.js
     [exec] <a title="#1">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>

     [exec] <a title="#2">WARNING: <a
title="#0">LzSprite.prototype.CSSDimension</a>: coerced NaN to 0</a>


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090415/e2366b78/attachment-0001.html


More information about the Laszlo-dev mailing list