Bug 295964

Summary: [css-anchor-position-1] scrollbars are not handled correctly
Product: WebKit Reporter: fantasai <fantasai.bugs>
Component: Layout and RenderingAssignee: Kiet Ho <kiet.ho>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, kiet.ho, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/54863
Bug Depends on:    
Bug Blocks: 289743, 291856    

fantasai
Reported 2025-07-14 23:52:34 PDT
We're not doing the math for scrollbars correctly, which is causing us to fail https://wpt.live/css/css-anchor-position/anchor-position-borders-002.html A variant of the test using position-area fails less badly, only failing in cases with scrollbars on the left side. (It passes in other writing modes.)
Attachments
Radar WebKit Bug Importer
Comment 1 2025-07-14 23:52:44 PDT
fantasai
Comment 2 2025-07-31 12:39:45 PDT
Now that we've integrated PositionedLayoutConstraints into anchor() handling, we're just failing due to the RTL scrollbars.
fantasai
Comment 3 2025-07-31 12:39:55 PDT
Now that we've integrated PositionedLayoutConstraints into anchor() handling, we're just failing due to the RTL scrollbars.
Kiet Ho
Comment 4 2025-09-04 16:34:08 PDT
EWS
Comment 5 2025-09-16 00:31:56 PDT
Committed 300018@main (2b1d3c03ed71): <https://commits.webkit.org/300018@main> Reviewed commits have been landed. Closing PR #50330 and removing active labels.
Kiet Ho
Comment 6 2025-09-16 00:46:52 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/54863
EWS
Comment 7 2025-09-18 02:06:43 PDT
Committed 297297.430@safari-7622-branch (88219ea809dd): <https://commits.webkit.org/297297.430@safari-7622-branch> Reviewed commits have been landed. Closing PR #3654 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.