Bug 277616

Summary: `none` should be a valid value for `-webkit-line-clamp`
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: koivisto
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Tim Nguyen (:ntim)
Reported 2024-08-04 16:44:29 PDT
It's the default value: https://drafts.csswg.org/css-overflow-4/#propdef-line-clamp It's also the default computed value in the WebKit codebase, except you can't manually set it. These two places need to change: https://searchfox.org/wubkat/rev/b36cbce69fddb7da33823f316bd8ead5bebee970/Source/WebCore/css/CSSProperties.json#7949 https://searchfox.org/wubkat/rev/b36cbce69fddb7da33823f316bd8ead5bebee970/Source/WebCore/css/CSSPrimitiveValueMappings.h#65 LayoutTests/imported/w3c/web-platform-tests/css/cssom/cssom-getPropertyValue-common-checks.html should slightly progress too
Attachments
Tim Nguyen (:ntim)
Comment 1 2024-08-04 16:49:46 PDT
*** This bug has been marked as a duplicate of bug 248638 ***
Note You need to log in before you can comment on or make changes to this bug.