Closed Bug 2079295 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63343 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326338

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63343 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63343
Details from upstream follow.

Nikolas Zimmermann <nzimmermann@igalia.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326338

WebKit export from bug: [LBSE] Re-layout <textPath> when its pending target path appears

<pre>
[LBSE] Re-layout <textPath> when its pending target path appears

When a <textPath> references a missing id, it registers as a pending
resource. Once an element with that id appears, buildPendingResource()
resolves the target, but in LBSE it returned early without invalidating
the renderer, so the text was never laid out along the path.

Request the renderer update via updateSVGRendererForElementChange() for
both engines. RenderTreeUpdater::updateSVGRenderer() already performs the
engine-specific invalidation.

svg/text/adding-id-on-pending-path.html only covers resolving a pending
<textPath> target by setting an id on an existing path. Add reftests that
insert the referenced path, remove and re-add it, and change href to
another existing path.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326338">https://bugs.webkit.org/show_bug.cgi?id=326338</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322884@main">https://commits.webkit.org/322884@main</a>
</pre>

Component: web-platform-tests → SVG
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 84 tests

Status Summary

Firefox

PASS: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3[GitHub] 61[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] 62[Gecko-windows11-64-25h2-debug] 63[Gecko-windows11-64-25h2-opt] 64[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 20[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 21[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 23[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]

Chrome

PASS: 3

Safari

PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

  • /svg/text/reftests/transform-dynamic-change.html [wpt.fyi]: PASS [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-opt], SKIP [Gecko-windows11-64-25h2-debug]
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.