[wpt-sync] Sync PR 63867 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327381
Categories
(Core :: Web Painting, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63867 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63867
Details from upstream follow.
Karl Dubost <karlcow@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327381
WebKit export from bug: Safari fails to repaint an inline SVG CSS mask after child geometry mutation
<pre>
Changing the children of an SVG <mask> used by CSS mask-image does not repaint the masked elementAn HTML element with mask-image: url(#m) keeps showing the old mask
after a script changes the children of <mask id="m">. Resizing the
window repaints it with the new mask. Firefox and Chrome update right
away.CSS Masking allows a mask-image URL to point at a mask element:
A URL reference to a mask element (for example url(commonmasks.svg#mask)) or to a CSS image.An element that uses an SVG resource through CSS is repainted when the
resource changes, but only for the resources listed by
ReferencedSVGResources::referencedSVGResourceIDs(). clip-path and filter
have been listed for both SVG engines since <a href="https://commits.webkit.org/241274@main">241274@main</a>
(<a href="https://webkit.org/b/204204).">https://webkit.org/b/204204).</a> mask was listed only when the layer-based
SVG engine is enabled. It is off by default, so the masked element was
never repainted.List mask for both engines, by moving the layer-based engine check below
it. The legacy engine already notifies these listeners when a mask child
changes, and the masked element redraws the mask from its children each
time it paints.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327381">https://bugs.webkit.org/show_bug.cgi?id=327381</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/324026@main">https://commits.webkit.org/324026@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=108362
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 120 tests
Status Summary
Firefox
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, GitHub] 116[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 4
Chrome
PASS: 1
Safari
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-masking/mask-image/backdrop-filter-mask-image-multi-layer-while-loading.tentative.html [wpt.fyi]:
FAIL - /css/css-masking/mask-image/bad-mask-image-svg.html [wpt.fyi]:
FAIL - /css/css-masking/mask-image/mask-clip-8.html [wpt.fyi]:
FAIL - /css/css-masking/mask-image/mask-image-multi-layer-while-loading.tentative.html [wpt.fyi]:
FAIL
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•