Side navigation
Ticket #6199: 1.html
File 1.html, 0.8 KB (added by nalobin, September 02, 2010 10:54AM UTC)
:hidden selector bug in IE8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title></title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(function(){
var second = $('a').eq(1).hide();
alert(second.text() + ' link :hidden is "' + second.is(':hidden') + '" css display = ' + second.css('display'));
});
</script>
</head>
<body>
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
</body>
</html>
Download in other formats:
Original Format
File 1.html, 0.8 KB (added by nalobin, September 02, 2010 10:54AM UTC)
:hidden selector bug in IE8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title></title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(function(){
var second = $('a').eq(1).hide();
alert(second.text() + ' link :hidden is "' + second.is(':hidden') + '" css display = ' + second.css('display'));
});
</script>
</head>
<body>
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
</body>
</html>