#8414 closed bug (duplicate)
jQuery.show() locked css display - failed the media queries
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Test page
To test it:
Expected Result
- Starting with browser window with width > 640
- Then resize the browser window to width < 640px
- You will see the layout of list(a b c) changed.
Reproduce the bug
- Reload the test page.
- Start with a large browser window with width >640 px
- Click hide all -> show all
- Then resize browser window width < 640 px
- you will see the list doesn't change its layout.
The problem .show() function is overriding display in style attribute, instead of removing display:none, which may fail the media query that need to change the css display after first call of .show()
Note: See
TracTickets for help on using
tickets.
The problem is caused when YOU override the default CSS
display
property ofspan
tags.