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

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


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

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

commit c827eca616199b45340f784d34772198f251f689
Author: Colin Snover <github.com at zetafleet.com>
Date:   Fri Nov 23 07:09:13 2012 +0000

    IE10 even in quirks mode does not support filters for opacity. Fixes #16117. Backport to 1.7.
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@30027 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 3ceec84..d91a9ce 100644
--- a/dom-style.js
+++ b/dom-style.js
@@ -233,7 +233,7 @@ define(["./_base/sniff", "./dom"], function(has, dom){
 	//>>excludeEnd("webkitMobile");
 	var _getOpacity =
 	//>>excludeStart("webkitMobile", kwArgs.webkitMobile);
-		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){
@@ -247,7 +247,7 @@ define(["./_base/sniff", "./dom"], function(has, dom){
 
 	var _setOpacity =
 		//>>excludeStart("webkitMobile", kwArgs.webkitMobile);
-		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