Bug 304503

Summary: Skip StyleRuleBase size check on Windows
Product: WebKit Reporter: Brandon <brandonstewart>
Component: WebCore Misc.Assignee: Brandon <brandonstewart>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brandon
Reported 2025-12-19 09:17:39 PST
On Windows, StyleRuleBase is 16 bytes instead of 12 bytes due to different struct alignment/padding behavior. Skip the static_assert size check on Windows, matching the approach used for RefCountedBase in RefCountDebugger.cpp.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-19 09:17:47 PST
Brandon
Comment 2 2025-12-19 09:19:50 PST
EWS
Comment 3 2025-12-19 10:58:56 PST
Committed 304763@main (dc324ac52d91): <https://commits.webkit.org/304763@main> Reviewed commits have been landed. Closing PR #55710 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.