[2.0] Resolve intermittent WebKit animation shorthand validation failure
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 18/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- css, typescript
- 领域
- testing-qa
调研方向
Start with packages/runtime/e2e/keyframes.test.ts lines 19-21, which assert animation-duration 1s after the runtime applies animate-fade animation-fast, and run the focused WebKit repeat command from the issue. Compare the static stylesheet output with the runtime-inserted CSSOM rules for the same classes to see where 0.15s comes from. Done means the focused test passes repeatedly and the full browser suite passes without loosening the assertion or adding timeouts.
由索引模型根据 Issue 内容生成。
描述
Parent: #468 (release tracker #467)
Observed failure
The runtime browser suite fails in WebKit after changing an element from animate-fade to animate-fade animation-fast.
packages/runtime/e2e/keyframes.test.ts:19-21 expects animation-duration: 1s after the runtime observes the new class. WebKit sometimes reports 0.15s instead.
Reproduction and results
bun run --filter @master/css-runtime e2e
bun run --filter @master/css-runtime e2e --project=webkit e2e/keyframes.test.ts --repeat-each=3
- Full suite on the local candidate: 668 passed, 1 failed, with the failure in WebKit at the assertion above.
- Focused repeated suite: 13 passed, 2 failed; the same shorthand test fails in 2 of 3 repetitions. This is intermittent, not a claim of deterministic failure on every run.
- Chromium/Firefox pass in the full run.
Acceptance
- Determine whether CSSOM insertion/invalidation, cascade order, an upstream WebKit behavior, or the test's expectation causes the discrepancy.
- Compare static stylesheet output with runtime insertion/removal for the same classes and token values.
- Preserve the intended shorthand/longhand contract and direct override behavior; do not merely increase timeouts or change the expected value to hide the difference.
- Repeat the focused test successfully and pass the full browser suite on the final candidate.
This issue tracks an observed release-validation failure; its root cause is not yet established.
- 主要语言
- TypeScript
- 星标
- 2k
- 派生
- 44
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
master-co/css 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 55/100
-
难度 3/5 1-2 天 新手友好度 56/100
-
难度 4/5 3-5 天 新手友好度 15/100
相似的 Issue
-
apps/stage-web bug env/os-linux pending triage scope/audio-output
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
reproduced
难度 2/5 1-3 小时 新手友好度 68/100
anomalyco/opencode#61640 · 1 条评论 ·
维护者通常 1 天内回复
-
scope: data grid status: waiting for maintainer
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
ai-driven-fuzzing bug Minor
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
ai-driven-fuzzing bug claude Minor
难度 2/5 1-3 小时 新手友好度 82/100
linagora/twake-calendar-frontend#1944 ·
维护者通常 1 天内回复