Change maxcarlson-20100903-cin by maxcarl...@friendly on 2010-09-03 18:28:08 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix textfield sizing in dhtml
Bugs Fixed: LPP-9268 - DHTML: padding is not subtracted from width/height for
texts
Technical Reviewer: [email protected], ptw
QA Reviewer: hminsky
Details: LzSprite - Style text containers with 0px padding, use padding on
elements in containers instead. parseInt() -> >> 0 for a slight speed boost.
LzTextSprite - Text measurement divs are set to 0px padding to match the style
in LzSprite. Uncomment text padding subtraction in setHeight - the scrolldiv
shouldn't include padding.
Tests: See test/text/newtextformat.lzx?debug=true&lzr=dhtml matches swf8 and
test/lztest/lztest-textheight.lzx?lzr=dhtml runs like before.
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20100903-cin.tar