You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Chrome anchor elements which have sized children (ie: images) are not considered as visible or focusable, and therefore excluded.
This is caused by the difference in the way Chrome reports their offsetWidth and offsetHeight compared to other browsers (Chrome reports 0). This causes jQuery's expr.filters.hidden (":hidden") filter to consider it hidden, and the expr.filters.visible (":visible") filter is just a NOT of hidden.
Using http://api.jquery.com/category/version/1.5/ as a test page will reveal the problem on the books near the bottom. The selector below should get you the 3 elements in question
$("ul.books li a")
The text was updated successfully, but these errors were encountered:
It appears this issue finally got the attention it deserved from the jquery team. The change lands in 3.0.0, as can be seen in jquery/jquery#2227. Is there any intention to test this project's compatibility with that version?
In Chrome anchor elements which have sized children (ie: images) are not considered as visible or focusable, and therefore excluded.
This is caused by the difference in the way Chrome reports their offsetWidth and offsetHeight compared to other browsers (Chrome reports 0). This causes jQuery's expr.filters.hidden (":hidden") filter to consider it hidden, and the expr.filters.visible (":visible") filter is just a NOT of hidden.
Using http://api.jquery.com/category/version/1.5/ as a test page will reveal the problem on the books near the bottom. The selector below should get you the 3 elements in question
The text was updated successfully, but these errors were encountered: