Change the behavior of how :visible and :hidden work. :hidden is when an element...
authorJohn Resig <jeresig@gmail.com>
Mon, 16 Feb 2009 15:52:15 +0000 (15:52 +0000)
committerJohn Resig <jeresig@gmail.com>
Mon, 16 Feb 2009 15:52:15 +0000 (15:52 +0000)
commite25c4a132f9f11cb407605e3ca7d1900ca904077
treeb826d0c210cda96f76ace3a743594b96b5226824
parent5586fedf2932dc17b303c860d9f0a7604223f865
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.
src/selector.js
test/unit/selector.js