Change dda-20110707-ARx by [email protected] on 2011-07-07 13:57:55 EDT
    in /Users/dda/laszlo/src/svn/openlaszlo/trunk-a
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Add _source_height, _source_width attributes for computed percentages

New Features:

Bugs Fixed:

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

Documentation:

Release Notes:

Overview:
    When attributes contain '%', a compile time value is replaced:
     e.g. height="78%" -> immediateparent.height * 0.78
    It's sometimes desirable to have the original percentage string,
    so a _source_xxxx attribute has been added whenever this transformation
    is done.  This works for height, width or arbitrary names: foo="75%"
    would yield an extra _source_foo attribute with value "75%".

Details:
    

Tests:
    smokecheck: dhtml, swf10
    Verified output of 'lzc --runtime=dhtml test/units.lzx'
    ant runlzunit (in progress)

Files:
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/dda-20110707-ARx.tar



--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-306-2057
email: [email protected]
www: http://www.ddanderson.com
blog: http://libdb.wordpress.com





Reply via email to