|
|
|
LZX example:
<canvas> <!-- the image will be clipped in IE DHTML due to nested opacity --> <view opacity=".6" width="150" height="60" bgcolor="red"> <view width="${canvas.width}" height="60" resource="http:Unbenannt.png" stretches="both"/> </view> <!-- Moving the image to be a sibling fixes the issue--> <view y="200" opacity=".6" width="150" height="60" bgcolor="red"/> <view y="200" opacity=".6" width="${canvas.width}" height="60" resource="http:Unbenannt.png" stretches="both"/> </canvas> Please document this limitation and workaround of IE DHTML
r10610 | lou | 2008-08-06 10:13:48 -0400 (Wed, 06 Aug 2008) | 17 lines
Changed paths: M /openlaszlo/trunk/docs/src/developers/colors.dbk Change 20080806-lou-h by lou@loumac.local on 2008-08-06 10:09:03 AST in /Users/lou/src/svn/openlaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk Summary: dguide, color chapter: add IE7 opacity issues Bugs Fixed: LPP-5382, LPP-5370 Technical Reviewer: (pending) QA Reviewer: mcarlson Doc Reviewer: (pending) Details: copy the IE7 opacity issues from the 4.1.1 release notes into the dguide Tests: visual verify |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
<html>
<head></head>
<body>
<div style="position:absolute; width:60px; height:40px; filter:alpha(opacity=60); overflow:visible" >
<!--<div style="position:absolute; width:120px; height:80px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='Unbenannt.png')" />-->
<img src="Unbenannt.jpeg" style="position:absolute; width:120px; height:80px;" />
</div>
</body>
</html>