WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
308005
[CSS] Limit depth of style rule nesting to prevent stack overflow
https://bugs.webkit.org/show_bug.cgi?id=308005
Summary
[CSS] Limit depth of style rule nesting to prevent stack overflow
Matthieu Dubet
Reported
2026-02-16 13:23:56 PST
Like at-rule nesting, 128 seems like a reasonable depth limit
Attachments
Add attachment
proposed patch, testcase, etc.
Matthieu Dubet
Comment 1
2026-02-16 13:24:09 PST
rdar://164580735
Matthieu Dubet
Comment 2
2026-02-16 13:25:27 PST
Pull request:
https://github.com/WebKit/WebKit/pull/58807
EWS
Comment 3
2026-02-18 14:14:10 PST
Committed
307784@main
(a7a139550ae7): <
https://commits.webkit.org/307784@main
> Reviewed commits have been landed. Closing PR #58807 and removing active labels.
EWS
Comment 4
2026-02-18 18:25:37 PST
Committed
305413.316@safari-7624-branch
(4d82f728d447): <
https://commits.webkit.org/305413.316@safari-7624-branch
> Reviewed commits have been landed. Closing PR #4509 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug