[I'm going to check this in and start a build, since we are dead in the water 
without it.]

Change ptw-20110413-3EV by [email protected] on 2011-04-13 19:10:10 EDT
    in /Users/ptw/OpenLaszlo/trunk-3
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Don't display 0-opacity sprites

Bugs Fixed: LPP-9888 <html> element loaded by enter key handler in 
focussed <inputtext> element does not recieve mouse clicks (FF, Opera)

Technical Reviewer: [email protected] (pending)
QA Reviewer: [email protected] (pending)

Overview:

    The focus manager appears to require views with 0-opacity not
    intercept mouse clicks.  The most conservative change I could
    make, that approximated the previous size_zero_to_blank quirk,
    without actually changing the size to 0 is to set the
    `style.display` of the view sprite to `none` when the opacity is
    0.  The click and context divs are left alone, as they were for
    the quirk.

Details:

    In setVisible and setOpacity, set the view sprite display to
    'none' if opacity == 0.

Tests:
    smokecheck, test case from bug.

Files:
M       WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/ptw-20110413-3EV.tar

Reply via email to