Declined
Last Updated: 02 Jan 2024 11:19 by ADMIN
ADMIN
Cody
Created on: 07 Oct 2014 15:58
Type: Feature Request
0
Add visible property to Find Expressions
It would be nice to be able to find elements based on whether or not the element is visible, using the inline visibility property, or the inline Display property, or the CSS property. This matches what jQuery can do today:
$('#testSpan2:visible')
The above tests all possible combinations and returns a value based on whether or not the target element is visible.

From ticket 865800
1 comment
Scott
Posted on: 07 Oct 2014 23:35
I would like to also clarify that jQuery can identify if an element is visible, even if that element as no class or inline style, but is hidden due to it's parent element having a class or inline style that makes it not visible.

This fiddle demonstrates this:
http://jsfiddle.net/L62vmnn4/3/

Regards,

Scott