Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Opera bug with custom content

    There seems to be a bug in both 9.1 and 10.0d in Opera browser only where replacing original contents of a Canvas with new contents and then moving your mouse resets it to original contents

    Tested with current and previous versions of opera :

    Version 12.17
    Build 1863
    Platform Win32
    System Windows 7

    Browser identification:
    Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.17

    ---------

    Version 12.12
    Build 1707
    Platform Win32
    System Windows 7

    Browser identification:
    Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.12

    Sample code to demonstrate bug:

    Code:
    <!DOCTYPE HTML>
    <html><head>
    	<script>
    		var isomorphicDir="smartclientSDK/isomorphic/";
    	</script>
    	<script src=smartclientSDK/isomorphic/system/modules/ISC_Core.js></script>
    	<script src=smartclientSDK/isomorphic/system/modules/ISC_Foundation.js></script>
    	<script src=smartclientSDK/isomorphic/skins/Enterprise/load_skin.js></script>
    </head>
    <body><script>
    	Canvas.create({
    		width: '100%',
    		height: '100%',
    		contents: "<div id='d' style='font-size: 50px; color: black'>original contents is black</div>"
    	});
    	document.getElementById('d').style.color = "red";
    </script>
    
    
    </body></html>

    #2
    This is a side effect of a workaround for a bug in 9.x Opera versions that appears to be have corrected since then. In tomorrow's nightly builds we restrict the workaround to older Opera so you won't have this problem for the latest Opera.

    Comment

    Working...
    X