WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
244038
Make css/css-scroll-snap/scroll-target-margin-005.html pass
https://bugs.webkit.org/show_bug.cgi?id=244038
Summary
Make css/css-scroll-snap/scroll-target-margin-005.html pass
Tim Nguyen (:ntim)
Reported
2022-08-17 09:15:46 PDT
There are 3 issues: - The focus() ScrollRectToVisibleOptions does not match the scrollIntoView() one - The test uses <input type="date">, which redirects focus inside the UA shadow root, so we don't take in account the shadow host scroll margin - The test should wait for a tick, since scrolling to the focused element doesn't happen immediately in WebKit
Attachments
Add attachment
proposed patch, testcase, etc.
Tim Nguyen (:ntim)
Comment 1
2022-08-17 10:01:12 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/3412
Radar WebKit Bug Importer
Comment 2
2022-08-24 09:16:13 PDT
<
rdar://problem/99087807
>
Nikos Mouchtaris
Comment 3
2022-08-25 14:02:28 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/3673
EWS
Comment 4
2022-09-06 12:44:11 PDT
Committed
254195@main
(a728674047d7): <
https://commits.webkit.org/254195@main
> Reviewed commits have been landed. Closing PR #3673 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