RESOLVED CONFIGURATION CHANGED 59174
<hr> intersecting -webkit-line-clamp content
https://bugs.webkit.org/show_bug.cgi?id=59174
Summary <hr> intersecting -webkit-line-clamp content
Joseph Pecoraro
Reported 2011-04-21 21:42:49 PDT
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.
Attachments
[TEST] Resize the Browser (3.25 KB, text/html)
2011-04-21 21:42 PDT, Joseph Pecoraro
no flags
Ahmad Saleem
Comment 1 2023-02-15 13:19:48 PST
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?
zalan
Comment 2 2023-02-15 14:02:33 PST
(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.
Karl Dubost
Comment 3 2023-02-15 16:39:49 PST
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?
zalan
Comment 4 2023-02-15 18:45:31 PST
btw, this has progressed with IFC (-webkit-line-clamp with % that is)
Note You need to log in before you can comment on or make changes to this bug.