Implement CSS Colors level 4
还没有人认领这个 Issue。
评估
调研方向
使用带有 python -m cssutils.scripts.cssparse 的最小复现程序作为起始检查。跟踪 rgb(0 0 0 / 0.4) 的解析过程,并在这种 CSS Colors Level 4 语法能够被接受且不出现所报告的错误时,视为工作完成;该 issue 未指出源文件或测试。
由索引模型根据 Issue 内容生成。
描述
In #28, a user reported an issue parsing colors with the / symbol in them. Here's a minimum reproducer:
python -m cssutils.scripts.cssparse -s '.any{color:rgb(0 0 0 / 0.4)}'
ERROR COLOR_VALUE: Missing token for production end FUNC ")": ('CHAR', '/', 1, 22)
ERROR PropertyValue: No match: ('CHAR', ')', 1, 27)
ERROR PropertyValue: Unknown syntax or no value: rgb(0 0 0 / 0.4)
ERROR CSSStyleDeclaration: Syntax Error in Property: color:rgb(0 0 0 / 0.4)
b''
- 主要语言
- Python
- 星标
- 92
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jaraco/cssutils 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
-
难度 3/5 1-2 天 新手友好度 68/100
-
help wanted
难度 4/5 3-5 天 新手友好度 35/100
-
help wanted
难度 3/5 1-2 天 新手友好度 45/100
-
enhancement help wanted
难度 5/5 一周以上 新手友好度 25/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
anthropics/skills#1811 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
speaches-ai/speaches#678 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
datalayer/mcp-compose#42 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
conda-forge/spacy-feedstock#177 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
UKGovernmentBEIS/inspect_evals#2523 ·