In Safari 15 it was also wrong but better :D this codepen works in safari 15 but not 17 https://codepen.io/Chrisstopher/pen/WNPPPZv this codepen is a bit hacky but works in 17 https://codepen.io/Chrisstopher/pen/KKJJEPm here is a codepen how it should work (see chrome) but it's not in safari 15 and 17 https://codepen.io/Chrisstopher/pen/LYqqaVq
Created attachment 468938 [details] rendering in safari, firefox, chrome I think there is a bug somewhere about line clamp and text-wrap.
There is also Bug 233770
<rdar://problem/119355692>
Created attachment 469110 [details] Test reduction
bug 266599 tracks the longstanding missing content issue (https://codepen.io/Chrisstopher/pen/LYqqaVq) while this tracks the Safari 15 -> 17 regression.
Created attachment 469128 [details] [fast-cq]Patch
Committed 272278@main (da42549d3773): <https://commits.webkit.org/272278@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 469128 [details].