Bug 219324

Summary: REGRESSION (Safari 14): background-attachment: local does not work
Product: WebKit Reporter: sunder liu <sunderls.liu>
Component: CSSAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bramus, changseok, esprehn+autocc, ews-watchlist, fred.wang, george.plant, glenn, koivisto, kondapallykalyan, kyle.bavender, lvschie, mic.gallego, pdr, rik, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac   
OS: Other   
See Also: https://bugs.webkit.org/show_bug.cgi?id=181048
https://bugs.webkit.org/show_bug.cgi?id=275247
Attachments:
Description Flags
background-attachment: local not working
none
Patch
none
Patch
none
Patch none

sunder liu
Reported 2020-11-28 03:34:16 PST
It seems that background-attachment:local is not working on Safari 14.0.1 (macOS Big Sur) I tried on this demo from MDN https://interactive-examples.mdn.mozilla.net/pages/css/background-attachment.html for Safari 14.0.1, background-attachment:local and background-attachment:scroll are working the same. but it works right on Chrome (macOS Big Sur)
Attachments
background-attachment: local not working (4.36 MB, application/x-webarchive)
2021-03-05 07:44 PST, George PLANT
no flags
Patch (7.04 KB, patch)
2022-01-06 17:24 PST, Simon Fraser (smfr)
no flags
Patch (8.82 KB, patch)
2022-01-06 20:18 PST, Simon Fraser (smfr)
no flags
Patch (9.12 KB, patch)
2022-01-06 21:19 PST, Simon Fraser (smfr)
no flags
Alexey Proskuryakov
Comment 1 2020-11-29 14:59:50 PST
Thank you for the report! Could you please confirm if this worked with older versions?
sunder liu
Comment 2 2020-11-29 16:36:53 PST
Yes, it works on Safari 13.1.1 (Catalina 10.15.5) (In reply to Alexey Proskuryakov from comment #1) > Thank you for the report! Could you please confirm if this worked with older > versions?
Radar WebKit Bug Importer
Comment 3 2020-11-30 09:39:12 PST
George PLANT
Comment 4 2021-03-05 07:40:48 PST
I can confirm this bug exists. Please see attachments
George PLANT
Comment 5 2021-03-05 07:44:41 PST
Created attachment 422372 [details] background-attachment: local not working See class css .strategy__data for the background-attachment: local. When scrolling horrizontly the background does not move.
lvschie
Comment 6 2021-11-11 04:20:55 PST
Please assign someone to this issue, it should be fixed after a year.
Simon Fraser (smfr)
Comment 7 2022-01-06 17:24:08 PST
Simon Fraser (smfr)
Comment 8 2022-01-06 17:28:57 PST
Note to self: might need a separate fix for the root.
Simon Fraser (smfr)
Comment 9 2022-01-06 20:18:21 PST
Simon Fraser (smfr)
Comment 10 2022-01-06 21:19:59 PST
Bramus
Comment 11 2022-01-07 09:23:25 PST
Possibly related: https://bugs.webkit.org/show_bug.cgi?id=181048 (The listed workaround in comment https://bugs.webkit.org/show_bug.cgi?id=181048#c6 stopped working in iOS15)
EWS
Comment 12 2022-01-07 10:07:55 PST
Committed r287757 (245820@main): <https://commits.webkit.org/245820@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448559 [details].
Note You need to log in before you can comment on or make changes to this bug.