Wait, this isn't quite right. It seems the issue is how the browser renders spaces - not whether we're rendering HTML or not...
Regards, Max Carlson OpenLaszlo.org On 1/26/10 4:52 PM, Max Carlson wrote: > Change 20100126-maxcarlson-j by maxcarl...@bank on 2010-01-26 16:45:13 PST > in /Users/maxcarlson/openlaszlo/trunk-clean > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Add support for HTML display to lztext > > Bugs Fixed: LPP-7558 - DHTML<text> does not preserve whitespace, LPP-6617 - > Text should be able to be plain or html > > Technical Reviewer: ptw > QA Reviewer: hminsky > > Details: LzSprite - Add htmltext capability, set to true > > LzTextSprite - Implement setHTML(), handle changes to overflow and whitespace > CSS properties. > > LzInputText - Deprecate setHTML() in favor of displayhtml attribute. > > LzTextSprite - Add setHTML(), deprecate in favor of displayhtml attribute. > > Tests: This test shows whitespace in DHTML: > <canvas> > <text id="txt" bgcolor="#ffaaaa" text=" Hello Laszlo! " > displayhtml="true"/> > </canvas> > > > Files: > M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js > M WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js > M WEB-INF/lps/lfc/views/LzInputText.lzs > M WEB-INF/lps/lfc/views/LzText.lzs > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/20100126-maxcarlson-j.tar _______________________________________________ Laszlo-reviews mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews
