[Webkit-unassigned] [Bug 59174] <hr> intersecting -webkit-line-clamp content
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 15 16:39:49 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=59174
Karl Dubost <karlcow at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CONFIGURATION CHANGED
--- Comment #3 from Karl Dubost <karlcow at apple.com> ---
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?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230216/ac4da616/attachment.htm>
More information about the webkit-unassigned
mailing list