Closed Bug 2041665 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 60089 - Properly clone and reattach @keyframes rules

Categories

(Core :: CSS Transitions and Animations, task, P4)

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Properly clone and reattach @keyframes rules

The rules not being properly deep-cloned as CSSOM wrappers reattached
lead to modifications being applied to multiple stylesheets initially
sharing a StyleSheetContents instance.

Bug: 514449396

Change-Id: Ia78191430974e6263ad3afca19d9a0d2a39f170b
Reviewed-on: https://chromium-review.googlesource.com/7865248
WPT-Export-Revision: 218ed707ea0d44e382f8eaea6e8cd52e66d6d463

Component: web-platform-tests → CSS Transitions and Animations
Product: Testing → Core

CI Results

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

Total 166 tests

Status Summary

Firefox

OK : 1[GitHub] 119[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: 1[GitHub] 18[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1250[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1275[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-debug, Gecko-windows11-64-25h2-opt]
FAIL: 84[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 87[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-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-animations/KeyframeEffect-getKeyframes.tentative.html [wpt.fyi]
    • KeyframeEffect.getKeyframes() returns expected frames for an animation with a 0% keyframe and no 100% keyframe: FAIL
    • KeyframeEffect.getKeyframes() returns expected frames for an animation with a 100% keyframe and no 0% keyframe: FAIL
    • KeyframeEffect.getKeyframes() returns expected frames for an animation with no 0% or 100% keyframe but with a 50% keyframe: FAIL
    • KeyframeEffect.getKeyframes() returns expected frames for an animation with multiple keyframes for the same time and with different easing functions and composite operations: FAIL
    • KeyframeEffect.getKeyframes() returns expected values for animations with filter properties and missing keyframes: FAIL
    • KeyframeEffect.getKeyframes() returns expected values for animations with text-shadow properties and missing keyframes: FAIL
    • KeyframeEffect.getKeyframes() returns expected values for animations with background-size properties and missing keyframes: FAIL
    • KeyframeEffect.getKeyframes() returns expected values for animations with CSS variables as keyframe values: FAIL
    • KeyframeEffect.getKeyframes() returns expected values for animations with CSS variables as keyframe values in a shorthand property: FAIL
    • KeyframeEffect.getKeyframes() returns expected values for animations with a CSS variable which is overriden by the value in keyframe: FAIL
    • KeyframeEffect.getKeyframes() returns expected values for animations with only custom property in a keyframe: FAIL
    • KeyframeEffect.getKeyframes() returns expected values for animations with implicit values and a non-default timingfunction specified for 0% and 100%: FAIL
  • /css/css-animations/animate-with-background-color-oklch-002.html [wpt.fyi]
    • Animate from legacy rgb to oklch: FAIL
    • Animate from legacy rgb to color-mix oklch: FAIL
  • /css/css-animations/animate-with-color-mix-2.html [wpt.fyi]
    • animate-with-color-mix-2: FAIL
  • /css/css-animations/animate-with-color-mix.html [wpt.fyi]
    • Animate from neutral keyframe with color-mix to legacy rgb: FAIL
    • Animate from legacy rgb to neutral keyframe with color-mix: FAIL
    • Animate from neutral keyframe with color-mix to srgb: FAIL
    • Animate from srgb to neutral keyframe with color-mix: FAIL
    • Animate from color-mix with transparency to legacy rgba: FAIL
    • Animate from legacy rgba to color-mix with transparency: FAIL
  • /css/css-animations/animate-with-relative-color.html [wpt.fyi]
    • Animate from absolute oklch to relative oklch: FAIL
    • Animate from color keyword to relative rgb: FAIL
  • /css/css-animations/display-interpolation.html [wpt.fyi]
    • CSS Transitions: property <display> from [block] to [none] at (-1) should be [block]: FAIL
    • CSS Transitions: property <display> from [block] to [none] at (0) should be [block]: FAIL
    • CSS Transitions: property <display> from [block] to [none] at (0.1) should be [block]: FAIL
    • CSS Transitions: property <display> from [block] to [none] at (0.9) should be [block]: FAIL
    • CSS Transitions with transition: all: property <display> from [block] to [none] at (-1) should be [block]: FAIL
    • CSS Transitions with transition: all: property <display> from [block] to [none] at (0) should be [block]: FAIL
    • CSS Transitions with transition: all: property <display> from [block] to [none] at (0.1) should be [block]: FAIL
    • CSS Transitions with transition: all: property <display> from [block] to [none] at (0.9) should be [block]: FAIL
    • CSS Animations: property <display> from [block] to [none] at (1) should be [none]: FAIL
    • CSS Animations: property <display> from [block] to [none] at (1.5) should be [none]: FAIL
    • Web Animations: property <display> from [block] to [none] at (1) should be [none]: FAIL
    • Web Animations: property <display> from [block] to [none] at (1.5) should be [none]: FAIL
    • CSS Animations: property <display> from [none] to [block] at (-1) should be [none]: FAIL
    • CSS Animations: property <display> from [none] to [block] at (0) should be [none]: FAIL
    • Web Animations: property <display> from [none] to [block] at (-1) should be [none]: FAIL
    • Web Animations: property <display> from [none] to [block] at (0) should be [none]: FAIL
    • CSS Transitions with transition-behavior:allow-discrete: property <display> from [inline] to [block] at (-0.3) should be [inline]: FAIL
    • CSS Transitions with transition-behavior:allow-discrete: property <display> from [inline] to [block] at (0) should be [inline]: FAIL
    • CSS Transitions with transition-behavior:allow-discrete: property <display> from [inline] to [block] at (0.3) should be [inline]: FAIL
    • CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <display> from [inline] to [block] at (-0.3) should be [inline]: FAIL
    • CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <display> from [inline] to [block] at (0) should be [inline]: FAIL
    • CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <display> from [inline] to [block] at (0.3) should be [inline]: FAIL
    • CSS Animations: property <display> from [inline] to [block] at (-0.3) should be [inline]: FAIL
    • CSS Animations: property <display> from [inline] to [block] at (0) should be [inline]: FAIL
    • CSS Animations: property <display> from [inline] to [block] at (0.3) should be [inline]: FAIL
    • Web Animations: property <display> from [inline] to [block] at (-0.3) should be [inline]: FAIL
    • Web Animations: property <display> from [inline] to [block] at (0) should be [inline]: FAIL
    • Web Animations: property <display> from [inline] to [block] at (0.3) should be [inline]: FAIL
    • CSS Animations: property <display> from [none] to [none] at (-1) should be [none]: FAIL
    • CSS Animations: property <display> from [none] to [none] at (0) should be [none]: FAIL
    • CSS Animations: property <display> from [none] to [none] at (0.1) should be [none]: FAIL
    • CSS Animations: property <display> from [none] to [none] at (0.9) should be [none]: FAIL
    • CSS Animations: property <display> from [none] to [none] at (1) should be [none]: FAIL
    • CSS Animations: property <display> from [none] to [none] at (1.5) should be [none]: FAIL
    • Web Animations: property <display> from [none] to [none] at (-1) should be [none]: FAIL
    • Web Animations: property <display> from [none] to [none] at (0) should be [none]: FAIL
    • Web Animations: property <display> from [none] to [none] at (0.1) should be [none]: FAIL
    • Web Animations: property <display> from [none] to [none] at (0.9) should be [none]: FAIL
    • Web Animations: property <display> from [none] to [none] at (1) should be [none]: FAIL
    • Web Animations: property <display> from [none] to [none] at (1.5) should be [none]: FAIL
  • /css/css-animations/display-none-dont-cancel-pseudo.tentative.html [wpt.fyi]
    • A CSS Animation on a pseudo-element animating to "display: none" with "fill: forwards" remains active after animation completion.: FAIL
  • /css/css-animations/display-none-dont-cancel.tentative.html [wpt.fyi]
    • display:none animating to display:inline should be inline for the whole animation.: FAIL
    • A CSS variable of display:none animating to display:inline should be inline for the whole animation.: FAIL
    • Animating from display:none to display:none should not cancel the animation.: FAIL
    • Animating from display:none to display:none with an intermediate variable should not cancel the animation.: FAIL
    • Animating a variable of "none" which gets set to display elsewhere should not cancel the animation.: FAIL
  • /css/css-animations/event-dispatch.tentative.html [wpt.fyi]
    • Replacing a running animation should get animationcancel earlier than animationstart: FAIL
    • The cancel event should be fired before the new start event if both have the same position in the animation list: FAIL
  • /css/css-animations/revert-rule-keyframes-dynamic.html [wpt.fyi]
    • revert-rule in keyframes, reverted-to value changing (standard property): FAIL
    • revert-rule in keyframes, reverted-to value changing (custom property): FAIL
  • /css/css-animations/revert-rule-keyframes.html [wpt.fyi]
    • revert-rule in keyframes (width): FAIL
    • revert-rule in keyframes (--x): FAIL
  • /css/css-animations/parsing/keyframe-selectors.html [wpt.fyi]
    • 'calc(10%)' should be a valid keyframe selector: FAIL
    • 'calc(10% * sibling-index())' should be a valid keyframe selector: FAIL
    • 'calc(10% * sign(1em - 1px))' should be a valid keyframe selector: FAIL
    • 'entry calc(10%)' should be a valid keyframe selector: FAIL
    • 'exit calc(60%)' should be a valid keyframe selector: FAIL
  • /css/css-animations/parsing/keyframes-allowed-properties.html [wpt.fyi]
    • @keyframes allows all non-animation properties and animation-timing-function: FAIL
  • /css/css-animations/responsive/column-rule-color-001.html [wpt.fyi]
    • column-rule-color responds to inherited changes: FAIL
  • /css/css-animations/responsive/column-width-001.html [wpt.fyi]
    • column-width responds to inherited changes: FAIL
  • /css/css-animations/responsive/fill-forwards-viewport-units.html [wpt.fyi]
    • fill: forwards with viewport units updates on viewport resize: FAIL
  • /css/css-animations/animation-delay-010.html [wpt.fyi]: SKIP
  • /css/css-animations/animation-important-002.html [wpt.fyi]: FAIL
  • /css/css-animations/animation-name-in-nested-shadow.html [wpt.fyi]: FAIL
  • /css/css-animations/animation-name-in-shadow-part-outer-match.html [wpt.fyi]: FAIL

Tests Disabled in Gecko Infrastructure

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