Finding elements that are hidden due to overflow: hidden
Tab Atkins Jr.
jackalmage at gmail.com
Wed Sep 2 22:41:51 UTC 2015
On Tue, Aug 25, 2015 at 6:39 PM, Behrang Saeedzadeh <behrangsa at gmail.com> wrote:
> Looks like at the moment DOM does not expose any properties that signify
> whether an element has become hidden due to an overflow: hidden on their
> parent element.
> Any chance of adding this feature to DOM?
That's a result of CSS layout/rendering; it doesn't seem
super-appropriate to add to the DOM. It's also a bit troublesome; an
element can be partially hidden, so when does this flag flip to true?
It's also very specific; there are a ton of ways that an element can
get hidden besides being clipped by an overflow:hidden ancestor.
What's the actual use-case you're trying to address here?
More information about the es-discuss