Change 20081212-Philip-2 by phi...@philip-dc on 2008-12-12 18:00:31 EST
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix opaque issues for IE7/Vista/dhtml
New Features:
Bugs Fixed: LPP-3352, LPP-6249, LPP-7139
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
IE7 has different versions for XP and Vista. The latest versions are:
IE7, Windows XP: 7.0.5730.11
IE7, Vista: 7.0.6001.18000
In IE7/Vista, the resources png's that make up a window, tab, and
other controls don't look proper when stretched. It turns out that
the trick for IE6 works for IE7/Vista; setting,
quirks['ie_alpha_image_loader'] = true;
In the future, jira bugs for IE7/dhtml should include the OS so we
can track any XP vs. Vista issues.
embednew.js: Compute the osversion for Windows
LzSprite.js: If IE7 and osversion >= 6, enable ie_alpha_image_loader.
Tests:
Component sampler. tabs, and windows are opaque in IE7/XP and IE7/Vista.
Resizing a window (in height) doesn't cause a gap in the window frame.
These tests continue to work fine in swf8/swf9 (and dhtml in other browsers)
I haven't tried this in Windows 7 to see if the alpha image loader
causes problems there.
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M lps/includes/source/embednew.js
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081212-Philip-2.tar