Change maxcarlson-20100908-DzU by maxcarl...@friendly on 2010-09-08 12:17:17 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix inputtext positioning in dhtml
Bugs Fixed: LPP-9268 - DHTML: padding is not subtracted from width/height for
text
Technical Reviewer: ptw
QA Reviewer: [email protected]
QA Reviewer: hminsky
Details: LzSprite - Tweak paddingTop/Bottom for inputtext to match flash 10.
If we're running in Safari/webkit, tweak paddingLeft/Right for multiline
inputtext.
LzTextSprite - Return actual width/height so LzInputTextSprite can size its
clickable sprite correctly.
Tests: test/lztest/lztest-textheight.lzx?lzr=dhtml visually matches swf10 more
closely for inputtexts. Firebug shows clickable divs for inputtexts are the
correct size. Otherwise the same.
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-20100908-DzU.tar