aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-03-16 20:37:10 +0000
committerJohn Resig <jeresig@gmail.com>2007-03-16 20:37:10 +0000
commit83b43a1e927d6b260f35f75bc2c3d177f271be93 (patch)
treed15be34a7886e09907002174e678e9b714125afa /build
parentab2d10c6d62c4d2b834337e238cf2a618eec4412 (diff)
downloadjquery-83b43a1e927d6b260f35f75bc2c3d177f271be93.tar.gz
jquery-83b43a1e927d6b260f35f75bc2c3d177f271be93.zip
Forced the test suite into standards mode. Fixed some issues with how opacity was handled in IE. Fixed a number of IE fx bugs.
Diffstat (limited to 'build')
-rw-r--r--build/test/fx.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/build/test/fx.html b/build/test/fx.html
index bdbcbf2c3..050513a40 100644
--- a/build/test/fx.html
+++ b/build/test/fx.html
@@ -1,7 +1,9 @@
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
-<title>Animation Test Suite</title>
-<script src="../dist/jquery.js"></script>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>Animation Test Suite</title>
+ <script src="../dist/jquery.js"></script>
<style>
div#tests h4 {
background: red;
@@ -232,8 +234,9 @@ $(document).ready(function(){
var cur_o = jQuery.attr(this.style, "opacity");
if ( cur_o !== "" ) cur_o = parseFloat( cur_o );
- if ( (t_o == "hide"||t_o == "show") && cur_o != f_o )
+ if ( (t_o == "hide"||t_o == "show") && cur_o != f_o ) {
return msg(this, "Opacity not reset to " + f_o + ": " + cur_o);
+ }
if ( t_w == "hide" && this.style.display != "none" )
return msg(this, "Hiding, display not none: " + this.style.display);