Bug Tracker

Ticket #4194: index.html

File index.html, 627 bytes (added by jeremy.cloud, 11 years ago)

Test Case

Line 
1<html>
2    <head>
3        <style>
4            #block { display: inline-block; width: 100px; height: 100px; background-color: #00ff00; }
5        </style>
6        <script src="jquery-1.3.1.min.js"></script> <!-- doesn't work -->
7        <!--script src="jquery-1.2.6.min.js"></script--> <!-- works -->
8        <script>
9            $(function() {
10                $('#block').hide() // if you don't hide first, it works
11                $('#block').show()
12            })
13        </script>
14    </head>
15    <body>
16        <span id="block" style="display: none">I should be 100x100.  if not, this test failed.</span>
17    </body>
18</html>