Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 13852)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#1 invalid SPAM john
Description

This is a test bug...

#3 fixed DOM insertion methods fail on elements that have a length property Klaus Hartl
Description

The DOM insertion methods append/prepend/before/after fail on elements that have a length property, like a form or text node:

The problem lies in $.clean, proposed fix (tested):

$.clean = function(a) {
	var r = [];
	for ( var i = 0; i < a.length; i++ )
		if ( a[i].constructor == String ) {
			var div = document.createElement("div");
			div.innerHTML = a[i];
			for ( var j = 0; j < div.childNodes.length; j++ )
				r[r.length] = div.childNodes[j];
		} else if ( a[i].length  && !a[i].nodeType ) // added fix for nodes with length property (form, text node)
			for ( var j = 0; j < a[i].length; j++ )
				r[r.length] = a[i][j];
		else if ( a[i] != null )
			r[r.length] =
				a[i].nodeType ? a[i] : document.createTextNode(a[i].toString());
	return r;
};

See http://jquery.com/discuss/2006-May/000804/

#4 fixed hasLayout messes up fadeIn/fadeOut john
Description

From: http://www.wait-till-i.com/index.php?p=287

I had some issues with one of the code examples for the upcoming book. MSIE has a very annoying bug that when you use an opacity animation – for example with YUI or jQuery: When the element you want to fade in our out has no background colour, MSIE messes up the font for some reason. Another problem is that when you use jQuery for the fading, the element needs to have hasLayout set.

Test Case: http://icant.co.uk/sandbox/msieopacityissue/

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.