Closed Bug 2091263 Opened 19 days ago Closed 8 days ago

[wpt-sync] Sync PR 64951 - Preserve attr-tainted state across custom property animations

Categories

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

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Kevin Ellis <kevers@google.com> wrote:

Preserve attr-tainted state across custom property animations

Registered custom properties referencing attr() track an attr-tainted flag to indicate dependency on attribute values. During keyframe composition and interpolation for syntaxes such as length-percentage, transforms, and repeatable lists, this flag was not consistently propagated through intermediate values or checked during conversion cache validation.

This update ensures the attr-tainted state is preserved when performing pre-interpolation composition, converting neutral values, and evaluating cached conversions across CSSLengthInterpolationType, CSSTransformInterpolationType, and CSSCustomListInterpolationType. In addition, InvalidatableInterpolation and primitive interpolation paths now maintain taint state during stack composition.

Bug: 581325761
Change-Id: Idfe13fd17d1d472829b30c48d11d96dc6028e914

Reviewed-on: https://chromium-review.googlesource.com/8756758
WPT-Export-Revision: bca5c19c3901ad298cad7ac1ea6b0fe0e17a6fa2

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 520 tests

Status Summary

Firefox

OK : 1[GitHub] 285[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-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 8[GitHub] 22[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 6288[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 6440[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 6441[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 6453[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]
FAIL: 1[GitHub] 4101[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 4147[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] 4161[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 4162[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 6
FAIL: 3

Safari

OK : 1
PASS: 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: