Change 20100618-maxcarlson-7 by maxcarl...@friendly on 2010-06-18 14:43:16 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add setter for html text
New Features: setHTML() has been replaced by the html attribute for text and
inputtext.
Bugs Fixed: LPP-6617 - Text should be able to be plain or html (partial)
Technical Reviewer: hminsky
QA Reviewer: ptw
Details: This change attempts to rationalize setting the html display flag
across text and inputtext.
swf/LzTextSprite - Add setHTML() implementation
*/LzSprite.as - Add htmltext capability, set to true.
dhtml/LzSprite - Add htmltext capability, set to false.
LzInputText - Move getDefaultWidth() to property that initted in the
constructor - AS3 is lame and doesn't allow property overrides - WTF?
Deprecate setHTML() in favor of html attribute.
LzText - Use __defaultWidth instead of getDefaultWidth(). Add html attribute,
setter and event.
Tests: HTML text displays as before in SWF. DHTML will continue to warn. This
lays the groundwork for turning this on/off dynamically
Files:
M WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
M WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M WEB-INF/lps/lfc/views/LzInputText.lzs
M WEB-INF/lps/lfc/views/LzText.lzs
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100618-maxcarlson-7.tar