Re: Finding elements that are hidden due to overflow: hidden

On Tue, Aug 25, 2015 at 6:39 PM, Behrang Saeedzadeh <behrangsa@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?

~TJ

Received on Wednesday, 2 September 2015 22:42:37 UTC