[Laszlo-dev] For Review: Change 20070228-maxcarlson-w Summary: UPDATED: Fix lzunit, dhtml clipping of clickable views, dhtml input text height measurement, dhtml edittext appearance, fix radio button clickability in IE DHTML

Philip Romanik promanik at laszlosystems.com
Wed Feb 28 18:10:09 PST 2007


Approved, but there is still an issue with background color in the padding 
between text. This example will demonstrate it:

<canvas>
   <simplelayout axis="x"/>
   <text bgcolor="0xaaaaaa">Open</text>
   <text bgcolor="0xcccccc">Laszlo</text>
</canvas>

When run in swf, there is no white space between the two <text> elements. 
In dhtml it's white.


I was able to see what Josh is seeing. if I change the text in the first 
input box, and then change focus by clicking on the first two boxes, the 
text in the first text box shifts around.


>Change 20070228-maxcarlson-w by maxcarlson at max-carlsons-
>computer.local on 2007-02-28 17:28:31 PST
>      in /Users/maxcarlson/openlaszlo/legals
>
>Summary: UPDATED: Fix lzunit, dhtml clipping of clickable views,
>dhtml input text height measurement, dhtml edittext appearance, fix
>radio button clickability in IE DHTML
>
>New Features:
>
>Bugs Fixed: LPP-3608 - DHTML: Radio buttons don't work properly in
>IE6/IE7
>
>Technical Reviewer: promanik
>QA Reviewer: jcrowley
>Doc Reviewer: (pending)
>
>Documentation:
>
>Release Notes:
>
>Details: LzSprite.js - Don't check for Lz, assume it's there. Clip
>clickable divs along with regular divs.  Set this.__LZclick style in
>IE to fix radio buttons.
>
>LzInputTextSprite.js - Fix text height and width metrics
>
>rhino.js - Add dummy Lz = {__propcache: {} }; object to DOM, like the
>wrappers do for dhtml.
>
>edittext.lzx - don't set the background color of the text field - it
>looks bad in dhtml.
>
>Tests: http://localhost:8080/legals/test/lztest/lztest-textheight.lzx?
>lzr=dhtml&debug=true runs consistently, as does http://localhost:8080/
>legals/examples/components/style_example.lzx?lzr=dhtml - but now
>radio buttons are clickable in IE.
>
>Files:
>M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
>M      WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
>M      lps/utils/rhino.js
>M      lps/components/lz/edittext.lzx
>
>Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070228-
>maxcarlson-w.tar



More information about the Laszlo-dev mailing list