fix(downloads): make package disclosure motion visible

Keep the explicitly requested 300 ms package transition active when Chromium reports reduced motion, and separate the prepared and active disclosure states by a painted frame. Add focused regression coverage and an opt-in motion mode for the visual harness while keeping normal captures deterministic.
This commit is contained in:
Sucukdeluxe
2026-08-14 22:38:06 +02:00
parent 9cf89b8493
commit 56aed073f3
5 changed files with 67 additions and 5 deletions
+6 -3
View File
@@ -4,10 +4,13 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Multi Debrid Downloader Visual Harness</title>
<script>
if (new URLSearchParams(location.search).has("motion")) document.documentElement.dataset.visualMotion = "true";
</script>
<style>
*,
*::before,
*::after {
html:not([data-visual-motion="true"]) *,
html:not([data-visual-motion="true"]) *::before,
html:not([data-visual-motion="true"]) *::after {
animation: none !important;
caret-color: transparent !important;
transition: none !important;