Created attachment 463573 [details] HTML file containing bug reproduction Css opacity transition cracks when it is in a container container that scrolls. From what I have found, it needs at least one similar sibling. It also needs the color to be in the rgba format. For best visibility of the issue, use a low alpha value (eg. rgba(0, 0, 0, 0.05)). This does not happen in chrome or firefox. Attached is a simple reproduction in an html file. Expected behavior is what happens in chrome: https://capture.dropbox.com/48pVCcQyXXdNZu07 Actual behavior: https://capture.dropbox.com/eukfc8i03jcMWgla Tested On: - Apple MacBook Air (M1, 2020) - Safari Technology Preview: Release 158 (Safari 16.4, WebKit 17615.1.12.110.1)
It is possible to implement a workaround by wrapping the element that has the transition in container so that it has no siblings. In the case of the bug reproduction, that would mean wrapping each `.item` in an element.
<rdar://problem/102638968>
Created attachment 463772 [details] Clearer (to me) testcase I think we fail to issue a repaint in the scroll layer's backing store.