data icon indicating copy to clipboard operation
data copied to clipboard

feat(css): Update syntax for `content` property

Open skyclouds2001 opened this issue 9 months ago • 0 comments

Description

update content property: add attr() update <content-list> syntax: add attr(); remove contents leader() and <target> which are not supported and non-standard at all

note that spec defines as [ <string> | <image> | <attr()> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> ]+, but many are not-supported so not added at present

Motivation

Additional details

https://developer.mozilla.org/en-US/docs/Web/CSS/content https://drafts.csswg.org/css-content/#propdef-content https://drafts.csswg.org/css-content/#typedef-content-content-list

Related issues and pull requests

skyclouds2001 avatar Apr 05 '25 16:04 skyclouds2001