Bug 309875

Summary: Limit length of @counter-style padding
Product: WebKit Reporter: Ben Nham <nham>
Component: CSSAssignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ben Nham
Reported 2026-03-12 23:34:57 PDT
We should limit the length of padding in a @counter-style rule. CSS Counter Styles Level 3 explicitly allows this and Chrome and Firefox already apply a length limit of 120 and 150 respectively.
Attachments
Ben Nham
Comment 1 2026-03-12 23:34:58 PDT
Ben Nham
Comment 2 2026-03-12 23:36:06 PDT
EWS
Comment 3 2026-03-13 13:21:36 PDT
Committed 309228@main (1e7932ecb00d): <https://commits.webkit.org/309228@main> Reviewed commits have been landed. Closing PR #60542 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.