haikuwebkit/LayoutTests/fast/css-custom-paint/delay-repaint-expected.txt

6 lines
60 B
Plaintext
Raw Permalink Normal View History

CS Painting API should support multiple worklets. https://bugs.webkit.org/show_bug.cgi?id=192335 Reviewed by Dean Jackson. Source/WebCore: Adds a new map to support separate paint worklet global scopes (one for each worklet). Also adds some tests and a fix for a repaint bug that this oncovered, where changing a custom property required for paint would not trigger a repaint if there had not been a valid value set before. Test: fast/css-custom-paint/multiple-worklets.html * css/CSSPaintImageValue.cpp: (WebCore::CSSPaintImageValue::image): * css/StyleResolver.cpp: (WebCore::StyleResolver::applyProperty): * dom/Document.cpp: (WebCore::Document::prepareForDestruction): (WebCore::Document::paintWorkletGlobalScope): (WebCore::Document::setPaintWorkletGlobalScope): * dom/Document.h: (WebCore::Document::paintWorkletGlobalScope): Deleted. * rendering/style/RenderStyle.cpp: (WebCore::changedCustomPaintWatchedProperty): * worklets/Worklet.cpp: (WebCore::Worklet::addModule): * worklets/WorkletGlobalScope.cpp: (WebCore::WorkletGlobalScope::prepareForDestruction): LayoutTests: * fast/css-custom-paint/animate-repaint-expected.txt: * fast/css-custom-paint/animate-repaint.html: * fast/css-custom-paint/delay-expected.html: Added. * fast/css-custom-paint/delay-repaint-expected.txt: Copied from LayoutTests/fast/css-custom-paint/animate-repaint-expected.txt. * fast/css-custom-paint/delay-repaint.html: Copied from LayoutTests/fast/css-custom-paint/animate-repaint.html. * fast/css-custom-paint/delay.html: Copied from LayoutTests/fast/css-custom-paint/animate-repaint.html. * fast/css-custom-paint/multiple-worklets-expected.html: Added. * fast/css-custom-paint/multiple-worklets.html: Added. Canonical link: https://commits.webkit.org/207162@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-12-11 03:55:49 +00:00
(repaint rects
(rect 0 0 800 600)
(rect 8 8 150 150)
)