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)
Thank you for the report! Could you please confirm if this worked with older versions?
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?
<rdar://problem/71808922>
I can confirm this bug exists. Please see attachments
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.
Please assign someone to this issue, it should be fixed after a year.
Created attachment 448549 [details] Patch
Note to self: might need a separate fix for the root.
Created attachment 448556 [details] Patch
Created attachment 448559 [details] Patch
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)
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].