Add bounded semantic comparison for project styling changes
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust, typescript
- Lĩnh vực
- compilers, testing-qa, tooling
Hướng nghiên cứu
Start with site/architecture/styling-ir-roadmap.md, then trace the Rust rule identity, ordering, resource, and condition semantics through the compiler → codec → engine path. Check how the TypeScript wrapper exposes read-only results without reimplementing comparison. Done means bounded equivalent, different, or unknown results with evidence, diagnostics, parity checks, and the listed acceptance tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Provide a bounded semantic comparison of two supported project/manifest states for a declared class and context corpus. Do not claim general CSS equivalence from JSON or text equality.
Roadmap: #455 and #456. Design context: site/architecture/styling-ir-roadmap.md.
Concrete use case
Comparing display:block flex with block flex must report the changed winner, even if a canonical spelling looks shorter. A result over one class list must not imply equivalence for all possible classes, modes or browsers.
Ownership and compatibility
- Rust owns rule identity, ordering, resources and condition semantics. A compiler/tooling wrapper may present results to editors. TypeScript must not reimplement semantic comparison.
- Define finite inputs: manifest pair, class lists, active modes/conditions and relevant layer/importance context. Return observed equivalent, observed different, or unknown outside the stated corpus, with evidence and diagnostics.
- Additive 2.x read-only API outside runtime bundle; no automatic autofix or migration follows solely from this result.
Acceptance criteria
- Tests cover token/raw values, important and native layer order, shorthand/longhand competition, condition changes, fallback declarations, class groups and native conditional rules and resource withdrawal.
- Native/Wasm parity and compiler → codec → engine persistence are checked for supported inputs; unsupported versions or contexts fail or return explicit unknown.
- Documentation states that browser support and computed style remain unverified without browser execution. Boundary/type/lint and bundle checks pass.
- Ngôn ngữ chính
- TypeScript
- Star
- 2k
- Fork
- 44
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của master-co/css
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
breaking change runtime
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
runtime server
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
runtime
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của master-co/css
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
area:cowork area:desktop documentation enhancement platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
anthropics/claude-code#101720 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
apache/rocketmq-dashboard#6610 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Add: MS NOWĐang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Global update drops overrideAccess, so Local API updateGlobal fails filterOptions validation (3.90 regression)Có thể đã có người làm @PINYOPATTANAWASANPORN đã nhận hôm nay. Đang mởarea: core Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
payloadcms/payload#18674 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày