Truncate text using the CSS first-line selector.