[csswg-drafts] [css-selectors] Add a :scrolling-element selector (#5000)

tomhodgins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-selectors] Add a :scrolling-element selector ==
Hi everybody,

It would be nice if there was a CSS selector (e.g. `:scrolling-element`) that targeted the same element as [`document.scrollingElement` refers to in the Document API](https://developer.mozilla.org/en-US/docs/Web/API/document/scrollingElement). Not sure if this has been proposed before or not but I couldn't find any previous mentions here.

Thanks!

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5000 using your GitHub account

Received on Friday, 24 April 2020 00:17:46 UTC