[Pkg-javascript-commits] [dojo] 14/16: IE10 even in quirks mode does not support filters for opacity. Fixes #16117 !strict. Backport to 1.5.

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


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

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

commit bf997892509bb91b7613e8a0f0e3db4dd73391f2
Author: Bill Keese <bill at dojotoolkit.org>
Date:   Mon Dec 17 22:42:25 2012 +0000

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

diff --git a/_base/html.js b/_base/html.js
index a051512..2e5daeb 100644
--- a/_base/html.js
+++ b/_base/html.js
@@ -472,7 +472,7 @@ if(dojo.isIE || dojo.isOpera){
 	//>>excludeEnd("webkitMobile");
 	dojo._getOpacity =
 	//>>excludeStart("webkitMobile", kwArgs.webkitMobile);
-		d.isIE < 9 || (d.isIE && d.isQuirks) ? function(node){
+		d.isIE < 9 || (d.isIE < 10 && d.isQuirks) ? function(node){
 			try{
 				return af(node).Opacity / 100; // Number
 			}catch(e){
@@ -501,7 +501,7 @@ if(dojo.isIE || dojo.isOpera){
 
 	dojo._setOpacity =
 		//>>excludeStart("webkitMobile", kwArgs.webkitMobile);
-		d.isIE < 9 || (d.isIE && d.isQuirks) ? function(/*DomNode*/node, /*Number*/opacity){
+		d.isIE < 9 || (d.isIE < 10 && d.isQuirks) ? 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