| Summary: | -webkit-line-clamp does not truncate with ellipsis on visibility:hidden element | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kenneth Kufluk <kenneth> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | bfulgham, menkhauskl, mmaxfield, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari 13 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Kenneth Kufluk
2020-01-30 12:18:11 PST
WebKit's behavior seems to match Chrome, but both differ from Firefox. I am having the same issue, though I am only seeing it on Safari. I created this codepen https://codepen.io/menkhauskl/pen/jOrXbpB On Chrome version 86.0.4240.183 it is truncating the ellipsis when "visibility: hidden". On Safari Version 14.0 it is not truncating the ellipsis when "visibility: hidden". |