- From: jonjohnjohnson via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 Mar 2018 14:02:12 +0000
- To: public-css-archive@w3.org
I'd also be interested in getting easier access to this for it's descendants. Have you the type of javascript used to find an elements scrolling context or "nearest scrollable ancestor"? Between browser differences of document.scrollingElement to if html has overflow-x hidden, but not overflow-y, thrashing the layout as your crawl up the document running regex operations on getComputedStyles and analyzing clientHeight differences from scrollHeight, to find where you might want to listen to a scroll event as well as if document/html/body is scrolling and differences of the events target having a scrollTop or not? Sorry for rambling, but it's a messy endeavor which could be nice to have a simple `element.scrollRoot` or `element.scrollRootX`/`element.scrollRootY` giving a reference to that element? -- GitHub Notification of comment by jonjohnjohnson Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2322#issuecomment-372675462 using your GitHub account
Received on Tuesday, 13 March 2018 14:02:14 UTC