You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2014/09/04 13:10:37 UTC

git commit: fix the condition in the conditional comment

Repository: tapestry-5
Updated Branches:
  refs/heads/master 64ce2d8da -> 0b27da50f


fix the condition in the conditional comment


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/0b27da50
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/0b27da50
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/0b27da50

Branch: refs/heads/master
Commit: 0b27da50fac1df0313eadcc58d7af4752de8098d
Parents: 64ce2d8
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Thu Sep 4 13:10:19 2014 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Thu Sep 4 13:10:19 2014 +0200

----------------------------------------------------------------------
 .../services/javascript/AddBrowserCompatibilityStyles.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0b27da50/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/AddBrowserCompatibilityStyles.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/AddBrowserCompatibilityStyles.java b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/AddBrowserCompatibilityStyles.java
index e5b01d7..7eeb4fd 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/AddBrowserCompatibilityStyles.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/AddBrowserCompatibilityStyles.java
@@ -36,7 +36,7 @@ public class AddBrowserCompatibilityStyles implements MarkupRendererFilter
         // IE9 does not support CSS animations, so we make the loading mask translucent
         ie9 = String.format("<!--[if IE 9]><style type=\"text/css\">.pageloading-mask{opacity:%.2f;}</style><![endif]-->", opacity);
         // Older IE versions do not even support opacity, we'll have to resort to a filter
-        ie8 = String.format("<!--[if IE lt 9]><style type=\"text/css\">.pageloading-mask{filter:alpha(opacity=%d);}</style><![endif]-->",
+        ie8 = String.format("<!--[if lt IE 9]><style type=\"text/css\">.pageloading-mask{filter:alpha(opacity=%d);}</style><![endif]-->",
                 (int) (100. * opacity));
     }