I don't think we need to test all letters from a to z, a smaller subset
should be sufficient. You may file an improvement request, so we can
figure out which letters we should use in that subset.
I'll also file a bug report to inform Opera about this issue, even using
the word joiner (\u2060) doesn't prevent line breaks in Opera.
Otherwise approved!
On 5/23/2010 1:05 AM, Max Carlson wrote:
Change 20100519-maxcarlson-W by maxcarl...@friendly on 2010-05-19 18:26:24 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: UPDATED: Fix inputtext measurement in Opera 10.5x
Bugs Fixed: LPP-9005 - DHTML: single line inputtext height wrong (Opera)
Technical Reviewer: [email protected]
QA Reviewer: hminsky
Details: LzFontManager - Update warning for compiled font load timeouts.
LzSprite - Add textmeasurementalphastring, set to true in Opera.
LzTextSprite - If textmeasurementalphastring is on, use text measurement string
with only letters.
Tests: test/lztest/lztest-textheight.lzx?lzr=dhtml&debug=true shows expected
warnings in all browsers
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzFontManager.js
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/20100519-maxcarlson-W.tar