ITADN

css-syntax-patches-for-csstree contains an invalid value for types["bg-clip"]

#1760ClosedasamuzaK 创建于 2026-01-11
A
asamuzaKcommented
https://github.com/csstools/postcss-plugins/blob/main/packages/css-syntax-patches-for-csstree/dist/index.json#L572 `"bg-clip": "<visual-box> | [ border-area || text ] | border",` But `border` is not in spec. https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-clip `<bg-clip> = <visual-box> | [ border-area || text ]`
关闭于 2026-01-11 2 条评论