Intent to Prototype: CSS functions

已查看 899 次
跳至第一个未读帖子

Steinar H. Gunderson

未读,
2024年2月13日 05:13:442月13日
收件人 blin...@chromium.org
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 */

Kevin Babbitt

未读,
2024年2月15日 11:59:472月15日
收件人 Steinar H. Gunderson、blin...@chromium.org
Is there a tracking bug for this feature?

Thanks
Kevin

-----Original Message-----
From: Steinar H. Gunderson <se...@chromium.org>
Sent: Tuesday, February 13, 2024 2:14 AM
To: blin...@chromium.org
Subject: [blink-dev] Intent to Prototype: CSS functions

[You don't often get email from se...@chromium.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
--
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+...@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.

Steinar H. Gunderson

未读,
2024年2月16日 05:29:092月16日
收件人 Kevin Babbitt、blin...@chromium.org
On Thu, Feb 15, 2024 at 04:59:25PM +0000, Kevin Babbitt wrote:
> Is there a tracking bug for this feature?

I created one, crbug.com/325504770.

/* Steinar */
--
Homepage: https://www.sesse.net/
回复全部
回复作者
转发
0 个新帖子