[Pkg-javascript-commits] [dojo] 20/32: Fix setting of opacity on IE9 in quirks mode, refs #16117, fixes #12884 on 1.6 branch !strict.
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.6.2
in repository dojo.
commit 1a1e6cc0e03d5ce72b4b571ca30ac3461e525118
Author: Bill Keese <bill at dojotoolkit.org>
Date: Mon Dec 17 22:39:49 2012 +0000
Fix setting of opacity on IE9 in quirks mode, refs #16117, fixes #12884 on 1.6 branch !strict.
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.6/dojo@30200 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 9146926..a00c1a0 100644
--- a/_base/html.js
+++ b/_base/html.js
@@ -472,7 +472,7 @@ if(dojo.isIE){
//>>excludeEnd("webkitMobile");
dojo._getOpacity =
//>>excludeStart("webkitMobile", kwArgs.webkitMobile);
- d.isIE < 9 ? 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._setOpacity =
//>>excludeStart("webkitMobile", kwArgs.webkitMobile);
- d.isIE < 9 ? 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