Bug 235933 - scroll-margin-top doesn't work on inline elements
Summary: scroll-margin-top doesn't work on inline elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Martin Robinson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-31 17:50 PST by Simon Fraser (smfr)
Modified: 2022-02-02 01:14 PST (History)
11 users (show)

See Also:


Attachments
Patch (8.95 KB, patch)
2022-02-01 06:31 PST, Martin Robinson
no flags Details | Formatted Diff | Diff
Patch (9.71 KB, patch)
2022-02-01 07:58 PST, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2022-01-31 17:50:54 PST
https://codepen.io/etsisk/pen/dyZbgwq shows that `scroll-margin-top` doesn't work as expected.
Comment 1 Simon Fraser (smfr) 2022-01-31 17:51:16 PST
<rdar://87983307>
Comment 2 Martin Robinson 2022-02-01 06:31:36 PST
Created attachment 450520 [details]
Patch
Comment 3 EWS Watchlist 2022-02-01 06:33:38 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 4 Martin Robinson 2022-02-01 07:58:49 PST
Created attachment 450527 [details]
Patch
Comment 5 EWS 2022-02-02 01:14:08 PST
Committed r288947 (246676@main): <https://commits.webkit.org/246676@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 450527 [details].