Re: [csswg-drafts] [css-break-3][css-overflow] Proposal for pseudo-selector :overflowed-content

Can't you use an IntersectionObserver instead? https://jsfiddle.net/f2gp7pnq/

```js
new IntersectionObserver(function([{intersectionRatio}]) {
  root.classList.toggle('overflowed-content', intersectionRatio < 1);
}, {root}).observe(root.lastElementChild);
```

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2011#issuecomment-351779626 using your GitHub account

Received on Thursday, 14 December 2017 17:25:27 UTC