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

2015-09-04 Thread Behrang Saeedzadeh
Actually I just realized that even getVisibleRect is not generic enough as multiple sections of an element could become hidden. So we will going to need getVisibleRects. On Fri, 4 Sep 2015 at 3:45 am Tab Atkins Jr. wrote: > On Thu, Sep 3, 2015 at 3:26 AM, Behrang

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

2015-09-03 Thread Tab Atkins Jr.
On Thu, Sep 3, 2015 at 3:26 AM, Behrang Saeedzadeh wrote: > Hi Tab, > > My use case can already be implemented using JavaScript and some existing > properties on elements such as clientLeft and its cousins. > > Here's a simplified version of my use case: >

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

2015-09-03 Thread Behrang Saeedzadeh
Hi Tab, My use case can already be implemented using JavaScript and some existing properties on elements such as clientLeft and its cousins. Here's a simplified version of my use case: http://codepen.io/behrangsa/pen/PPozWj But I thought it would be nicer if an element had a method that could

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

2015-09-02 Thread Tab Atkins Jr.
On Tue, Aug 25, 2015 at 6:39 PM, Behrang Saeedzadeh 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?

Finding elements that are hidden due to overflow: hidden

2015-08-25 Thread Behrang Saeedzadeh
Hi, 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? -- Best regards, Behrang Saeedzadeh ___