Created attachment 252802 [details] [Animated GIF] Actual/expected Actual: a-very-very-very-very-very... Expected: a-very-very-...-long-filename.js:42 Some ways of doing it: http://stackoverflow.com/questions/831552/ellipsis-in-the-middle-of-a-text-mac-style Mozilla’s proposal to allow doing this in pure CSS: https://bugzilla.mozilla.org/show_bug.cgi?id=740910
<rdar://problem/20888765>
Doing in CSS would be great. I could have sworn we had a helper in Utilities.js to do this too, but I am not seeing it anymore.