Created attachment 90667 [details] [TEST] Resize the Browser Discovered when manually testing LayoutTests/fast/css/apple-prefix.html By changing the width of the browser you can get to a point where the <hr> starts overlapping the content in the paragraph.
I am not able to reproduce this bug in Safari 16.3 and Safari Technology Preview 163, can someone help on how to reproduce this?
(In reply to Ahmad Saleem from comment #1) > I am not able to reproduce this bug in Safari 16.3 and Safari Technology > Preview 163, can someone help on how to reproduce this? -apple-line-clamp is now called -webkit-line-clamp.
The test in that page is function test() { var content = document.getElementById('content'); content.style.appleLineClamp = "10%"; } content.style.webkitLineClamp returns "" (empty string) content.style.appleLineClamp returns "10%" "-webkit-line-clamp: 10%;" would not be a valid value. https://w3c.github.io/csswg-drafts/css-overflow-4/#propdef--webkit-line-clamp As it takes only integers. AND "-apple-line-clamp: 10%" is invalid in the Web Inspector. Probably this should be closed as INVALID or CONFIGURATION CHANGED. I even wonder if a new bug should be created to remove the percentage. https://searchfox.org/wubkat/rev/6312ca8a662145d355274780bbf68b6ce735d8e8/Source/WebCore/css/ComputedStyleExtractor.cpp#3332-3333 Zalan, what do you think?
btw, this has progressed with IFC (-webkit-line-clamp with % that is)