Bug 293907

Summary: [Style] Use strong Style value types for inset, margin and padding
Product: WebKit Reporter: Sam Weinig <sam>
Component: CSSAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2025-06-02 09:55:03 PDT
Add wrappers (for now) of WebCore::Length for inset, margin and padding. This will allow us to enforce at the type level which keywords and value ranges are supported for each type and make the code a bit more clear.
Attachments
Sam Weinig
Comment 1 2025-06-02 11:00:03 PDT
EWS
Comment 2 2025-06-04 13:57:48 PDT
Committed 295835@main (4a9be0d0de8f): <https://commits.webkit.org/295835@main> Reviewed commits have been landed. Closing PR #46213 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-06-04 13:58:17 PDT
Note You need to log in before you can comment on or make changes to this bug.