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 accountReceived on Tuesday, 23 July 2019 11:15:00 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC