Skip to content

fix: test package reduced motion without an inline override - #4524

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4523
Oct 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4523

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The package reduced-motion fixture still set an inline transition, which deliberately outranks the stylesheet guard since #4490. Remove that redundant inline declaration so the existing assertions exercise package CSS in both light and shadow DOM. Product behavior stays the same.

Both variants failed on current main before this change and pass after it. The ordinary-motion controls, immediate reduced-motion transition assertions, pseudo-element animation completion, and preference restoration assertions remain intact. The existing page-authored motion test also passes (3 focused cases total).

Closes #4523 — automated triage

PR #4490 intentionally lets inline styles outrank the reduced-motion guard. Remove the redundant inline transition from the package stylesheet fixture so it tests stylesheet suppression in both trees while preserving the ordinary-motion control and all assertions.

Closes #4523
@leaf-agent
leaf-agent merged commit 56d6d2e into main Oct 27, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4523 branch October 27, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduced-motion package stage test retains an active background transition

1 participant