[webkit-changes] [WebKit/WebKit] 2cc096: compositing/updates/animation-non-composited.html ...
Simon Fraser
noreply at github.com
Mon Jan 15 16:25:06 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2cc096e109bacf90ff156b0d186df2f056c349a2
https://github.com/WebKit/WebKit/commit/2cc096e109bacf90ff156b0d186df2f056c349a2
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M LayoutTests/compositing/updates/animation-non-composited.html
Log Message:
-----------
compositing/updates/animation-non-composited.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=267553
<rdar://problem/121011594>
Reviewed by Anne van Kesteren.
In this test, the setTimeout(0) races with the m_updateCompositingLayersTimer timer in
RenderLayerCompositor, which is scheduled via `RenderLayerCompositor::rootBackgroundColorOrTransparencyChanged()`
as a result of the background color changing. Because of this, we sometimes get a compositing update
count of 1.
So delay the start of the animation on a requestAnimationFrame().
* LayoutTests/compositing/updates/animation-non-composited.html:
Canonical link: https://commits.webkit.org/273052@main
More information about the webkit-changes
mailing list