Ticket #1239 (closed bug: fixed)
hide function broken in Safari on elements not in DOM (see example)
|Reported by:||remysharp||Owned by:|
var p = $('<p>test</p>').hide(); alert(p.style.display);
In Firefox, correctly displays 'none', in Safari this is blank. The effect is when preparing a new element to fade in to the page the fade doesn't work in Safari (because it's already fully visible).
Tested with jQuery 1.1.3a, Firefox 2 and Safari 2 on OS 10.4 and IE7.
var p = $('<p>test</p>').css('display', 'none'); alert(p.style.display);
- Owner set to davidserduke
- Status changed from new to assigned
- Owner davidserduke deleted
- Status changed from assigned to new