Css
CSS Snapshot 2024
截止 2024 年底,CSS 规范的状态
什么是 CSS Snapshot?
CSS 3 之后,CSS 不再是一个单独的、涵盖所有内容的大规范,而是拆分成了注入滚动条、MediaQuery 之类的模块型小规范。CSS Snapshot 文档用于确定在某个时间节点上,各模块 CSS 规范的完成情况(是否稳定),即 Working Draft(WD)、Candidate Recommendation(CR) 和 Recommendation(REC)。
见:CSS 2024@W3C,这份文档除了规范稳定性快照以外,还有完整的 CSS 术语表。
稳定的规范
稳定,同时也处于长期维护中的规范。
- CSS Level 2
- CSS Syntax Level 3
- CSS Style Attributes
- Media Queries Level 3
- CSS Conditional Rules Level 3
- Selectors Level 3
- CSS Namespaces
- CSS Cascading and Inheritance Level 4
- CSS Values and Units Level 3
- CSS Custom Properties for Cascading Variables Module Level 1
- CSS Box Model Level 3
- CSS Color Level 4
- CSS Backgrounds and Borders Level 3
- CSS Images Level 3
- CSS Fonts Level 3
- CSS Writing Modes Level 3
- CSS Multi-column Layout Level 1
- CSS Flexible Box Module Level 1
- CSS Basic User Interface Module Level 3
- CSS Containment Module Level 1
- CSS Transforms Level 1
- CSS Compositing and Blending Level 1
- CSS Easing Functions Level 1
- CSS Counter Styles Level 3
稳定性可靠的 CR
很大程度上具有稳定的实现和规范,但由于一些小问题或需要额外的实施报告,尚未达到划分为 REC。
- Media Queries Level 4
- CSS Scroll Snap Module Level 1
- CSS Scrollbars Styling Module Level 1
- CSS Grid Layout Module Level 1
- CSS Grid Layout Module Level 2
相对稳定的模块
以下模块已完成设计工作,相当稳定,但尚未接受很多测试和实施经验。
- Media Queries Level 4
- CSS Display Module Level 3
- CSS Writing Modes Level 4
- CSS Fragmentation Module Level 3
- CSS Box Alignment Module Level 3
- CSS Shapes Module Level 1
- CSS Text Module Level 3
- CSS Text Decoration Module Level 3
- CSS Masking Module Level 1
- CSS Scroll Snap Module Level 1
- CSS Speech Module Level 1
- CSS View Transitions Module Level 1
需要更多测试和修复的模块
- CSS Transitions Level 1 and CSS Animations Level 1
- CSS Will Change Level 1
- Filter Effects Module Level 1
- CSS Font Loading Module Level 3
- CSS Box Sizing Level 3
- CSS Transforms Level 2
- CSS Lists and Counters Module Level 3
- CSS Logical Properties and Values Level 1
- CSS Positioned Layout Module Level 3
- Resize Observer
- Web Animations
- CSS Fonts Module Level 4
- CSS Color Adjustment Module Level 1
- CSS Conditional Rules Module Level 4
- CSS Cascading and Inheritance Level 5
- Motion Path Module Level 1
- CSS Scroll Anchoring Module Level 1
- CSS Object Model (CSSOM)
- CSS Color Module Level 5
- Selectors Level 4