[Laszlo-dev] For Review: Change 20070117-maxcarlson-y Summary: Fix inputtext with clickable parent in DHTML, make splash part of html so it loads earlier

Max Carlson max at openlaszlo.org
Wed Jan 17 20:18:18 PST 2007


Change 20070117-maxcarlson-y by maxcarlson at max-carlsons- 
computer.local on 2007-01-17 20:04:14 PST
     in /Users/maxcarlson/openlaszlo/legals

Summary: Fix inputtext with clickable parent in DHTML, make splash  
part of html so it loads earlier

New Features:

Bugs Fixed: LPP-3307 - Empty inputtext with clickable parent can't be  
selected in IE DHTML

Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: This fixes the testcase in LPP-3307, but it doesn't fix  
amazon - that is a separate issue I tracked down to the textlistitem  
in the cardform class - I'll fix later.  It also fixes the testcase  
under firefox, which is currently broken.

LzSprite.js - splash code simplified to look for div id lzsplash on  
init.  Added __setCSSClassProperty() method to tweak stylesheet  
properties at runtime.  IE leak prevention off for IE version and  
up.  Use discreet stylesheet classes for clickable divs.

LzInputTextSprite.js -  Use discreet stylesheet classes for clickable  
divs.  Line height measured with test string for empty inputtext.

html-response.xslt - Move lzsplash to static div in html wrapper.


Tests: LPP-3307 testcase works in firefox mac, ie 7 win.  All other  
apps continue to work.  Amazon almost works in ie 7 windows.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
M      WEB-INF/lps/templates/html-response.xslt

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070117- 
maxcarlson-y.tar


More information about the Laszlo-dev mailing list