Hey @Blink Reviewers, This implements the CSS symbols() function from CSS Counter Styles Level 3 which is an already-defined consensus standard Firefox has shipped since ~2015 but Chrome/Edge/Safari have not. It lets authors define an anonymous counter style inline instead of first declaring a named @counter-style .
Contact emails: [email protected], [email protected] Explainer: https://developer.mozilla.org/en-US/docs/Web/CSS/symbols Specification: https://drafts.csswg.org/css-counter-styles-3/#symbols-function Summary: The CSS symbols() function lets authors define a counter style inline instead of first declaring a named @counter-style at-rule. It builds an anonymous counter style from a list of string symbols plus an optional counting system (cyclic, numeric, alphabetic, symbolic, or fixed), and is accepted as the counter style in list-style-type, the list-style shorthand, and counter() / counters(). Blink component: Blink>CSS Web feature ID: Counter-style Motivation Defining a custom list marker in CSS today requires authoring a named @counter-style rule and referencing it by name, which is needlessly verbose for one-off, anonymous markers. The symbols() function lets authors define the same counter style inline, without inventing or managing a global name. It works wherever a counter style is accepted, specifically in list-style-type and the counter()/counters() functions. Gecko has supported symbols() since 2015, but Blink and WebKit have not, so this addresses an important interoperability gap. Initial public proposal N/A: implementation of an existing consensus standard. Search tags: css, counter-style, symbols, list-style, counters Goals for experimentation: None Requires code in //chrome?: False Tracking bug: https://crbug.com/40747844 Estimated milestones: No milestones specified. Link to entry on the Chrome Platform Status: https://chromestatus.com/feature/5146996093616128 -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/DM4PR21MB4640B9E11FD5D8865D9B813F92CA2%40DM4PR21MB4640.namprd21.prod.outlook.com.
