Permalink
Browse files
Change the behavior of how :visible and :hidden work. :hidden is when…
… an element is display none, a parent element is display none, or the element has a width of 0. :visible is when the element is not display none and all of its ancesotrs are not display none and its width is larger than 0. Fixes jQuery bugs #1349, #3265, and #3895.
- Loading branch information
Showing
with
8 additions
and 9 deletions.
- +2 −6 src/selector.js
- +6 −3 test/unit/selector.js