Re: [csswg-drafts] [css-overflow] It should be detectable whether an element ellipsize text (#4123)

Nice @emilio, I updated the codepen with your idea. Hover the ellipsized text to see the result.

https://codepen.io/anon/pen/Voeyod

Setting ```$0.style.maxWidth = 'max-content';``` and then doing ```$0.getBoundingClientRect();``` does give fractional accuracy on overflowing text.



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

Received on Tuesday, 23 July 2019 11:15:00 UTC