id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blocking	blockedby
8453	In IE the is() function triggers a sizzle exception that is not handled correctly when used with a 'naked' attribute selector	koenpeters	koenpeters	"Try the following code: 

{{{
<html DOCTYPE=""html"">
<head>
  <script src=""http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js""></script>
  <script>
    $(document).ready(function() {
      if ($('a').is('[href=http://www.isaac.nl/]')) {
        $('div').text('');
      } 
    });
  </script>
</head>
<body>
  <a href=""http://www.isaac.nl/"">link text</a>
  <div>If you see this message the error occured</div>
</body>
</html>
}}}

When you run this in anything except IE the text ""If you see this message the error occured"" will be removed. In IE however the following exception will be thrown: 

{{{
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sun, 6 Mar 2011 16:22:30 UTC


Message: Exception thrown and not caught
Line: 871
Char: 15
Code: 0
URI: http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js
}}}

When an 'a' is added it does not throw the exception and runs as expected:

{{{
is('a[href=http://www.isaac.nl/]'))
}}}
"	bug	closed	low	1.next	selector	1.5.1	invalid				
