Bug 322438

Summary: Style data storage in ComputedStyle could use some clean up
Product: WebKit Reporter: fantasai <fantasai.bugs>
Component: CSSAssignee: fantasai <fantasai.bugs>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

fantasai
Reported 2026-08-24 12:50:04 PDT
Looking at our style data storage in ComputedStyle &co, it looks like a mess. Fields have been added in random places, comments are out of sync, and there's some room for optimizations like moving box-sizing (used very frequently) out of rare data, etc.
Attachments
patch (71.29 KB, patch)
2026-08-24 21:22 PDT, fantasai
no flags
Radar WebKit Bug Importer
Comment 1 2026-08-24 12:50:11 PDT
fantasai
Comment 2 2026-08-24 21:22:20 PDT
fantasai
Comment 3 2026-08-27 18:08:07 PDT
fantasai
Comment 4 2026-09-05 11:57:04 PDT
EWS
Comment 5 2026-09-05 21:16:53 PDT
Committed 320580@main (c52ed422c114): <https://commits.webkit.org/320580@main> Reviewed commits have been landed. Closing PR #72667 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.