Closed Bug 1819448 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38749 - web animations: Safely reject animations with incorrect pseudo target

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Khushal Sagar <khushalsagar@chromium.org> wrote:

web animations: Safely reject animations with incorrect pseudo target

If a web animation targets a pseudo-element which is not generated,
because there is no style targeting it or its a pseudo-element which
can't be generated for a view transition, creating that animation
should fail safely with an exception. This is similar to the
failure when an incorrect pseudo-element name is used.

R=flackr@chromium.org

Bug:1419810
Change-Id: I45e4aaa4209b990ab19f2a540a322f1d7423ddb2
Reviewed-on: https://chromium-review.googlesource.com/4295760
WPT-Export-Revision: 680c6e9c86e1f81b356e23962e06af2d0cb0d783

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
PASS: 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/b46620cd4957 [wpt PR 38749] - web animations: Ensure replaceable have a valid effect target, a=testonly https://hg.mozilla.org/integration/autoland/rev/446e9471c79e [wpt PR 38749] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.