Bug Tracker

Ticket #6199: 1.html

File 1.html, 786 bytes (added by nalobin, 9 years ago)

:hidden selector bug in IE8

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3<head>
4       <meta http-equiv="X-UA-Compatible" content="ie=edge" />
5       <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
6       <title></title>
7       <script type="text/javascript" src="jquery.js"></script>
8       <script type="text/javascript">
9               $(function(){
10                       var second = $('a').eq(1).hide();
11                                           alert(second.text() + ' link :hidden is "' + second.is(':hidden') + '" css display = ' + second.css('display'));
12               });
13       </script>
14</head>
15<body>
16<a href="#">1</a>
17<a href="#">2</a>
18<a href="#">3</a>
19</body>
20</html>