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
278218
[css-anchor-position-1] Refactor style & layout interleaving for anchor positioning
https://bugs.webkit.org/show_bug.cgi?id=278218
Summary
[css-anchor-position-1] Refactor style & layout interleaving for anchor posit...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-08-15 22:18:40 PDT
<
rdar://problem/134015009
>
David Choi
Comment 2
2024-08-15 22:31:41 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32289
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.
Top of Page
Format For Printing
XML
Clone This Bug