Bug 251744

Summary: shrink StyleRule
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: CSSAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Cameron McCormack (:heycam) 2023-02-04 16:02:39 PST
StyleRules are currently 64 bytes.  We can gain 8 bytes by moving its bool fields to pack with the base class, and another 16 bytes by moving the CSS Nesting related fields off to a rare data object.
Comment 1 Radar WebKit Bug Importer 2023-02-04 16:02:59 PST
<rdar://problem/105046580>
Comment 2 Cameron McCormack (:heycam) 2023-02-04 16:27:23 PST
Pull request: https://github.com/WebKit/WebKit/pull/9580
Comment 3 Cameron McCormack (:heycam) 2023-02-04 16:32:17 PST
Pull request: https://github.com/WebKit/WebKit/pull/9650
Comment 4 EWS 2023-02-05 17:45:29 PST
Committed 259875@main (aea4f3f29a7c): <https://commits.webkit.org/259875@main>

Reviewed commits have been landed. Closing PR #9650 and removing active labels.