Why do elements have to be siblings to test isInFrontOf?

Should there be a complementary isBehind method?

Otherwise approved.

On 2009-11-10, at 18:41, Max Carlson wrote:

> Change 20091110-maxcarlson-l by maxcarl...@bank on 2009-11-10 15:32:05
> PST
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Fix view unit tests to run in dhtml, swf8, swf10
>
> Bugs Fixed: LPP-7070 - Methods to determine if a view is in front of
> or behind another view
>
> Technical Reviewer: hminsky
> QA Reviewer: ptw
>
> Details: lztest-view - Add test for LzView#isInFrontOf()
>
> LzSprite.js - Round resource width/height.  Skip noop cases for
> sendBehind() and sendInFrontOf().
>
> LzSprite.as - Round resource width/height.
>
> LaszloView - Add isInFrontOf() API. Skip noop sendBehind() and
> sendInFrontOf() calls.
>
> Tests: lztest-view runs with fewer errors across runtimes.
>
> Files:
> M       test/lztest/lztest-view.lzx
> M       WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
> M       WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
> M       WEB-INF/lps/lfc/views/LaszloView.lzs
>
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20091110-maxcarlson-l.tar
> _______________________________________________
> Laszlo-reviews mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to