[Pkg-javascript-commits] [dojo] 40/88: IE10 even in quirks mode does not support filters for opacity. Fixes #16117. Backport to 1.8.

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:35 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.8.5
in repository dojo.

commit 60a3286de8d127494776dd52e2141b54ebec7c6f
Author: Colin Snover <github.com at zetafleet.com>
Date:   Fri Nov 23 07:07:52 2012 +0000

    IE10 even in quirks mode does not support filters for opacity. Fixes #16117. Backport to 1.8.
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@30026 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 dom-style.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dom-style.js b/dom-style.js
index 78ed27f..bc3f5b6 100644
--- a/dom-style.js
+++ b/dom-style.js
@@ -139,7 +139,7 @@ define(["./sniff", "./dom"], function(has, dom){
 	};
 
 	var _getOpacity =
-		has("ie") < 9 || (has("ie") && has("quirks")) ? function(node){
+		has("ie") < 9 || (has("ie") < 10 && has("quirks")) ? function(node){
 			try{
 				return af(node).Opacity / 100; // Number
 			}catch(e){
@@ -151,7 +151,7 @@ define(["./sniff", "./dom"], function(has, dom){
 		};
 
 	var _setOpacity =
-		has("ie") < 9 || (has("ie") && has("quirks")) ? function(/*DomNode*/ node, /*Number*/ opacity){
+		has("ie") < 9 || (has("ie") < 10 && has("quirks")) ? function(/*DomNode*/ node, /*Number*/ opacity){
 			var ov = opacity * 100, opaque = opacity == 1;
 			node.style.zoom = opaque ? "" : 1;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list