RESOLVED FIXED 292191
[scroll-animations] WPT test scroll-animations/view-timelines/fieldset-source.html is a failure
https://bugs.webkit.org/show_bug.cgi?id=292191
Summary [scroll-animations] WPT test scroll-animations/view-timelines/fieldset-source...
Antoine Quint
Reported 2025-04-28 08:14:03 PDT
The WPT test scroll-animations/view-timelines/fieldset-source.html is a failure. It mistakenly is marked as PASS macOS at the moment because the failure happen within a forEach() callback, but it fails there too, not just on iOS.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-04-28 08:17:17 PDT
Antoine Quint
Comment 2 2025-04-29 04:30:25 PDT
The issue appears that in the test we are using getBoundingClientRect() which accounts for padding and border, but the measurements we're taking in ViewTimeline::cacheCurrentTime() do not account for that, so we're off by 6 pixels (2 pixels of padding and 4 pixels of border).
Antoine Quint
Comment 3 2025-04-29 05:06:02 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/52242
Antoine Quint
Comment 4 2025-04-29 05:07:27 PDT
EWS
Comment 5 2025-04-29 06:58:59 PDT
Committed 294259@main (8e43c7ee7af5): <https://commits.webkit.org/294259@main> Reviewed commits have been landed. Closing PR #44683 and removing active labels.
Antoine Quint
Comment 6 2025-04-30 01:55:11 PDT
*** Bug 284532 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.