Closed Bug 1920273 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 48299 - [ReferenceTarget] Ensure setting property does invalidation, add tests

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Daniel Clark <daniec@microsoft.com> wrote:

[ReferenceTarget] Ensure setting property does invalidation, add tests

Add tree dump tests for ARIA attributes affected by reference
target that can't yet be tested in WPT.

Add WPT validating that ARIA label updates upon DOM mutations and
reference target changes.

Note that aria-owns coverage is omitted since we plan to exclude
it from reference target.

AX-Relnotes: n/a.
Bug: 346835896,353748711
Change-Id: I89f9e0c81d808ac9f1d20035660963d1d09a00aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5739315
Commit-Queue: Dan Clark \<daniec@microsoft.com>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Reviewed-by: Aaron Leventhal \<aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1358498}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
FAIL: 4

Chrome

OK : 1
PASS: 4

Safari

OK : 1
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /shadow-dom/reference-target/tentative/dom-mutation.html [wpt.fyi]
    • Changing the ID of the referenced element updates the computed label: FAIL (Chrome: PASS, Safari: FAIL)
    • Removing the referenced element updates the computed label: FAIL (Chrome: PASS, Safari: FAIL)
    • New referenced element prepended to the shadow supercedes the existing label: FAIL (Chrome: PASS, Safari: FAIL)
    • Changing the reference target ID updates the computed label: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5484c2225bdc [wpt PR 48299] - [ReferenceTarget] Ensure setting property does invalidation, add tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/0a87be76cf7a [wpt PR 48299] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.