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
304574
[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
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2025-12-21 10:21:26 PST
Pull request:
https://github.com/WebKit/WebKit/pull/55773
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
<
rdar://problem/166991069
>
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