gpt4 book ai didi

css - CSS Level 3 中允许的功能行为是否是 CSS Level 2 中允许的*子集*?

转载 作者:行者123 更新时间:2023-11-28 17:51:41 25 4
gpt4 key购买 nike

CSS 工作组的“Cascading Style Sheets (CSS) Snapshot 2010”说:

Each level of CSS builds on the previous, refining definitions and adding features. The feature set of each higher level is a superset of any lower level, and the behavior allowed for a given feature in a higher level is a subset of that allowed in the lower levels. A user agent conforming to a higher level of CSS is thus also conformant to all lower levels.

我不明白我用粗体强调的句子。难道不是应该说较高级别的功能行为是较低级别允许的超集吗?

谁能举个例子说明一下?

最佳答案

CSS Snapshot 2010 总体上含糊不清且部分已过时。在引用的陈述中,“特征”和“行为”都是松散的词,不是定义明确的术语,因此该陈述没有确切的含义。似乎很可能是指“超集”,而不是“子集”。无论如何,文中所说的部分是不正确的:“级别”之间存在变化和遗漏。 “级别”的概念并不准确,远非如此;属于“level 3”的规范和草案尚无权威 list

关于css - CSS Level 3 中允许的功能行为是否是 CSS Level 2 中允许的*子集*?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22180951/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com