Bug 244038

Summary: Make css/css-scroll-snap/scroll-target-margin-005.html pass
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: ScrollingAssignee: Nikos Mouchtaris <nmouchtaris>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Tim Nguyen (:ntim)
Comment 1 2022-08-17 10:01:12 PDT
Radar WebKit Bug Importer
Comment 2 2022-08-24 09:16:13 PDT
Nikos Mouchtaris
Comment 3 2022-08-25 14:02:28 PDT
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.