Closed Bug 1899713 Opened 28 days ago Closed 24 days ago

[wpt-sync] Sync PR 46545 - Referenced SVG elements in an external resource document match :target

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Referenced SVG elements in an external resource document match :target

Track which elements are referenced (by \<use>) in an external resource
document by funneling the lookup through a special function on
SVGResourceDocumentContent that creates SVGResourceTarget objects for
each (valid) reference and lets the targeted element weakly reference
the object. While matching :target, the selector checker will check if
the element has a reference to an SVGResourceTarget object and let
:target match if it does.

Bug: 342705674
Change-Id: I9b88e4338dccc0e01c45afb0df3e1c412b2466a9
Reviewed-on: https://chromium-review.googlesource.com/5574989
WPT-Export-Revision: bf67d0448cccf82ae214e94c86d48909c1473e4d

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

CI Results

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

Total 2 tests

Status Summary

Firefox

PASS: 1
FAIL: 1

Safari

PASS: 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/58fd0f22b97e
[wpt PR 46545] - Referenced SVG elements in an external resource document match :target, a=testonly
https://hg.mozilla.org/integration/autoland/rev/94c3ca282ce4
[wpt PR 46545] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.