Contact emails: se...@chromium.org Explainer: https://css.oddbird.net/sasslike/mixins-functions https://docs.google.com/document/d/1Je7kBKdBg3ZDfoSA6ezzkQfehWkV2uv14Vxn1UJc3QY/edit#heading=h.3fj2wo8vn37w
Specification: None Summary: User-defined functions in CSS, aka @function. Related to, but not the same as, mixins. Let authors define custom functions that can do more-or-less arbitrary manipulation (though not Turing-complete at this stage), and then refer to them from CSS declaration lists similarly to how var() is interpolated. Blink component: Blink>CSS Initial public proposal https://github.com/w3c/csswg-drafts/issues/9350#issuecomment-1939628591 TAG review: None Risks Interoperability and Compatibility: There is not spec yet, so this is to try to get experience with implementation and use. This means that initially, no browsers will be compatible with each other, and this is not meant for the public web. Gecko: No signal WebKit: No signal Web developers: No signals WebView application risks: None Debuggability: We will need some kind of support from devtools eventually, or functions will be very hard to debug. Is this feature fully tested by web-platform-tests? No Flag name on chrome://flags: CSSFunctions Finch feature name: None Non-finch justification: New feature, not suitable for A/B testing. Requires code in //chrome?: False Estimated milestones: We hope to get a rough prototype out in Q1. Link to entry on the Chrome Platform Status: https://chromestatus.com/feature/5179721933651968 /* Steinar */ -- 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 blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/20240213101333.ovzmevgpq2dliivb%40sesse.net.