Modify ↓
Ticket #8931 (closed bug: wontfix)
.show can't make element appear
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | css | Version: | 1.5.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Element'll not appear if it's style is "display: none !important";
Test case here: http://jsfiddle.net/uA9aP/
Change History
comment:1 Changed 2 years ago by timmywil
- Keywords needsdocs added
- Priority changed from undecided to low
- Status changed from new to closed
- Component changed from unfiled to css
- Resolution set to wontfix
comment:2 Changed 2 years ago by addyosmani
- Keywords needsdocs removed
Updated: http://api.jquery.com/show/
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 is intended behavior. !important styles are really important. ;) To override an !important style, do .css('display', 'block !important'). Tagging needsdocs as we should probably state this for fadeIn and show.