Change philip-20110724-Lpz by philip@PHILIP-I7 on 2011-07-24 15:48:53
EDT
in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix double-cursor issue and Chrome/IE focus issues in html
component
New Features:
Bugs Fixed: LPP-10015, lPP-10011
Technical Reviewer: (pending)
QA Reviewer: mdemmon
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
I fixed browser-specific issues with moving focus between html
components, rte components, and lzx components. The biggest offender is
Chrome and IE7.
A note about IE. If your top-level wrapper file says to emulate IE7
behavior, you may find it necessary to click twice in an html element to
obtain focus. I recommend that you emulate IE8 because this issue is not
present. You may still have the double click behavior in IE7, but it
will not be present in IE8+.
Details:
html.lzx
- call iframemanager's setBlur() method when an html component blurs.
iframemanager.lzx
- Focusing an iframe in Chrome requires that the swf div is blurred.
This does not happen automatically and it makes it impossible to click
in the swf to return focus.
- setBlur for IE7 will move any focus from inside the iframe to the body
element, and then the swf div is focused.
rtemanager.lzx
- Comment changes.
Tests:
See tests in LPP-10015, LPP-10011
The LPP-10015 now works. You only see 1 cursor in Chrome (I tested on a
PC).
Files:
M lps/components/extensions/html.lzx
M lps/includes/source/rtemanager.js
M lps/includes/source/iframemanager.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/philip-20110724-Lpz.tar