Bug 315582

Summary: Simplify DeprecatedCSSOMValue class hierarchy by using virtual functions
Product: WebKit Reporter: Sam Weinig <sam>
Component: CSSAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2026-05-26 11:07:38 PDT
Due to how it was extracted from CSSValue, DeprecatedCSSOMValue doesn't use virtual functions for its hierarchy, instead using switch statements. This is unnecessary for a rarely used type and making it use traditional virtual functions will make refactoring a bit easier.
Attachments
Sam Weinig
Comment 1 2026-05-26 11:54:53 PDT
EWS
Comment 2 2026-05-27 09:22:47 PDT
Committed 313973@main (4029f1176cf7): <https://commits.webkit.org/313973@main> Reviewed commits have been landed. Closing PR #65696 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-05-27 09:23:13 PDT
Note You need to log in before you can comment on or make changes to this bug.