Modify ↓
Ticket #3395 (closed bug: duplicate)
Webkit: .hide() does not work
| Reported by: | Ti | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | core | Version: | 1.2.6 |
| Keywords: | webkit, safari, chrome, hide | Cc: | |
| Blocking: | Blocked by: |
Description
<body>
<script src="jquery-nightly.pack-r5754.js"></script>
<script>
// does not work (in webkit element is visible)
$('<p>hide me before attach</p>').hide().appendTo('body')
// work, element is hidden
$('<p>hide me after attach</p>').appendTo('body').hide()
</script>
</body>
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

This was already reported and dicussed on the jquery-dev group.
We'll probably fix this for 1.3.