Bug 278218

Summary: [css-anchor-position-1] Refactor style & layout interleaving for anchor positioning
Product: WebKit Reporter: David Choi <david_choi5>
Component: CSSAssignee: David Choi <david_choi5>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

David Choi
Reported 2024-08-15 22:17:34 PDT
The current `AnchorPositionedState` uses booleans to represent stages of the anchor-positioned element resolution process. This uses more space than necessary while introducing the potential for bugs via inconsistent combinations of boolean states. Style::TreeResolver also houses static functions and class methods related to anchor positioning that really should be moved to AnchorPositionEvaluator. We should refactor the code to address these concerns.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-15 22:18:40 PDT
David Choi
Comment 2 2024-08-15 22:31:41 PDT
EWS
Comment 3 2024-08-16 07:47:30 PDT
Committed 282349@main (f13cf97dc576): <https://commits.webkit.org/282349@main> Reviewed commits have been landed. Closing PR #32289 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.