Update $.fn.animate to change display mode only when necessary (inline, non-floated elements), and to use a more proper display mode for those elements. Fixes #2185.
This commit is contained in:
parent
0229b83f7e
commit
0cdcef5b36
6 changed files with 146 additions and 53 deletions
|
@ -102,6 +102,8 @@ div.chain.test div { background: green; }
|
|||
div.chain.out { background: green; }
|
||||
div.chain.out div { background: red; display: none; }
|
||||
|
||||
/* tests to ensure jQuery can determine the native display mode of elements
|
||||
that have been set as display: none in stylesheets */
|
||||
div#show-tests * { display: none; }
|
||||
|
||||
#nothiddendiv { font-size: 16px; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue