Change 20100210-maxcarlson-5 by maxcarl...@bank on 2010-02-10 16:24:54 PST
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: UPDATED: Add support for DHTML drop-dhadow to IE

Bugs Fixed: LPP-8399 - Drop-shadow support for DHTML runtime

Technical Reviewer: [email protected]
QA Reviewer: hminsky

Details: I discovered the Glow filter caused its contents to be offset (!) so I 
added x and y offsets to compensate.  setX() and setY() now take the offsets 
into account.  When capabilities.minimize_opacity_changes is true, 
__getShadowCSS() now rounds shadowdistance, shadowblur and shadowangle to 
minimize updates.  Otherwise the same:

Add use_filter_for_dropshadow quirk, set to true in IE.  Generate appropriate 
CSS using the glow and shadow DX filters as needed.  Add setFilter() API to 
manage multiple filters, so shadow and opacity don't trample eachother.  
updateShadow() and setOpacity() now use setFilter() to generate an updated 
filter string for application to the div.  

LzTextSprite - When use_filter_for_dropshadow quirk is true, use setFilter() to 
generate CSS to be applied.

Tests: See updated testcase attached to LPP-8399

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

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20100210-maxcarlson-5.tar

_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to