Closed Bug 2078066 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63259 - Deflake transition-shape-outside-crash.html

Categories

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

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mike Taylor <miketaylr@chromium.org> wrote:

Deflake transition-shape-outside-crash.html

The crashtest waits for a transitionend event on an \<input> element
with autofocus and shape-outside: padding-box, relying on autofocus
matching :focus-visible and changing the UA outline style to trigger
a CSS transition. If focus or :focus-visible does not produce a style
change (e.g., when the frame is not focused), no transition starts and
the test times out.

Explicitly flush the initial style and change color via a class so a
CSS transition on the element is guaranteed to run and fire
transitionend regardless of focus state, while still exercising the
BaseComputedStyle comparison for shape-outside: padding-box.

Bug: 485677942
Change-Id: I85bc4d41581dd0d645908a073aca742987fd9ac3
Reviewed-on: https://chromium-review.googlesource.com/8512417
WPT-Export-Revision: f8041bba0a665624cc5cbb6c1580c547077057ec

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 10 tests

Status Summary

Firefox

PASS: 1[GitHub] 10[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-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, 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]

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

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