Change maxcarlson-20100902-vX9 by maxcarl...@friendly on 2010-09-02 14:52:06 PDT
in /Users/maxcarlson/openlaszlo/trunk2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Improve getAttributeRelative()
Bugs Fixed: LPP-9333 - lz.view getAttributeRelative() doesn't work with nested
views inside a view that has xscale/yscale
Technical Reviewer: ptw
QA Reviewer: [email protected]
Details: lztest-lzview.zlx - Add tests for getAttributeRelative(), clean up
older tests to be a bit more tolerant.
LzViewLinkage - downlink and uplink arrays now include the actual node, so
scaling computation is simpler. Use correct algoritm for determining scale and
offsets. Add typing.
LaszloView - Test for and return value immediately when refView === the curent
view. LzViewLinkage now includes the current view in the computation, so
there's no need to factor in its value here.
Tests: lztest-view.lzx runs as before in all runtimes - with fewer warnings.
This highlights issues with resourcewidth in swf10, but that's another ball of
wax.
Files:
M test/lztest/lztest-view.lzx
M WEB-INF/lps/lfc/views/LzViewLinkage.lzs
M WEB-INF/lps/lfc/views/LaszloView.lzs
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20100902-vX9.tar