[2.0] Resolve intermittent WebKit animation shorthand validation failure

Đang mở
#478 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, typescript
Lĩnh vực
testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
2k
Fork
44
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của master-co/css

Tất cả issue của master-co/css

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.