diff --git a/src/styles/layout.css b/src/styles/layout.css index 607e6c6b..ce43f3a0 100644 --- a/src/styles/layout.css +++ b/src/styles/layout.css @@ -1145,6 +1145,11 @@ height: var(--player-height); position: relative; z-index: 100; + /* WebKitGTK (software compositing) occasionally paints the bar fully + black for one frame when an unrelated layer in the page invalidates. + `contain` isolates layout/paint so the bar's region cannot + participate in the surrounding dirty rect. */ + contain: layout paint; } .player-track-info {