RESOLVED FIXED304574
[UsedStyle] Split a ComputedStyle class out of RenderStyle and have RenderStyle forward to it
https://bugs.webkit.org/show_bug.cgi?id=304574
Summary [UsedStyle] Split a ComputedStyle class out of RenderStyle and have RenderSty...
Sam Weinig
Reported 2025-12-21 09:08:07 PST
As a first step toward building clearer API distinction between computed and used styles, we should split out the data from RenderStyle into a new type, Style::ComputedStyle, and have RenderStyle contain and forward to it. This will be largely mechanical, but will allow follow ups where we convert RenderStyle (either keeping the name, or renaming it to Style::UsedStyle or Style::UsedStyleResolver or the like) to a readonly view-like type, which wraps a reference to Style::ComputedStyle.
Attachments
Sam Weinig
Comment 1 2025-12-21 10:21:26 PST
EWS
Comment 2 2025-12-21 17:45:01 PST
Committed 304848@main (99192bf1195d): <https://commits.webkit.org/304848@main> Reviewed commits have been landed. Closing PR #55773 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-12-21 17:46:13 PST
Note You need to log in before you can comment on or make changes to this bug.