Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (40 - 42 of 13852)

Ticket Resolution Summary Owner Reporter
#2787 fixed Attribute filter ignores elements not appended to DOM tree arrix
Description

Attribute filter ([attribute=value]) cannot select elements not appended to the document tree.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>1.2.4a Rev: 5390</title>
		<script type="text/javascript" src="../jquery/dist/jquery.js"></script>
		<script type="text/javascript">
			$(function() {
				var f = $('<form><input type="button" name="ok" value="OK"/></form>');
				alert(f.find('input[name="ok"]').length); //0 but should be 1
				f.appendTo(document.body);
				alert(f.find('input[name="ok"]').length); //1
			});
		</script>
	</head>
	<body>
	</body>
</html>

1.2.4a Rev: 5390

#3011 duplicate Dimensions fails to return dimensions when visiblity is set to hidden jdsharp
Description

Testing in 1.2.6 using innerWidth() on an element who's parent is visibility: hidden returns 0 in Firefox. Below are two test cases. This behavior changed in 1.2.6 with dimensions integrated into core.

http://jdsharp.us/jQuery/debug/scrollbar-1.2.6.html http://jdsharp.us/jQuery/debug/scrollbar-1.2.3-dimensions.html

#3015 fixed Restrict onunload removal of eventhandlers to IE and Firefox 2 JeroenH
Description

In event.js the last lines remove registered eventhandlers on unload in all browsers. This is needed for IE's memory leaks and initially only targeted IE. In #1911 this was changed to apply to all browsers, but the only other browser in need of a fix there was Firefox 2.

This change breaks fast history navigation in Opera (and also in Firefox).

When testing the testcase in #1911, I can reproduce the problem in FF2, but it does not appear anymore in FF3.

It would be better to restrict this change to the browsers that need the fix:

// Prevent memory leaks in IE
// And prevent errors on refresh with events like mouseover in mozilla < 1.9
// Window isn't included so as not to unbind existing unload events
if (jQuery.browser.msie || (jQuery.browser.mozilla && parseFloat(jQuery.browser.version) < 1.9) ){
	jQuery(window).bind("unload", function() {
		jQuery("*").add(document).unbind();
	});
}
Note: See TracQuery for help on using queries.