Change 20100421-ptw-K by [email protected] on 2010-04-21 11:05:04 EDT
    in /Users/ptw/OpenLaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: No more dynamically computed CSS style property names

Bugs Fixed: LPP-8925 Remove support for dynamically computed CSS style property 
names

Technical Reviewer: [email protected] (pending)
QA Reviewer: [email protected] (pending)

Overview:
    No one ever uses `value=$style{<random string-valued 
    expression>}`, it is uneccesary generality and prevents us from
    optimizing style constraints.  The new syntax `style="propname"`
    is much more streamlined and allows you to specify a fallback
    value when there is no applicable CSS binding.

Details:
    Remove the test case, replace it with a new style example.  Signal
    an error if the value of a $style constraint is not a constant
    string.

Tests:
    smokecheck, test/style/metasuite.lzx

Files:
M       test/style/constraints/constraint-test.lzx
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100421-ptw-K.tar

Reply via email to