On 6/16/25 8:13 AM, Chromestatus wrote:
Contact emails
sakha...@chromium.org
Explainer
None
Specification
https://www.w3.org/TR/css-values-4/#calc-type-checking
Summary
Typed arithmetic allows to write expressions in CSS such a calc(10em /
1px) or calc(20% / 0.5em * 1px) which is useful for e.g. typography,
as it allows to convert typed value into an untyped one and reuse it
for number accepting properties or futher multiply the unitless value
by some other type to e.g. cast from pixels to degrees.
Blink component
Blink>CSS
<https://issues.chromium.org/issues?q=customfield1222907:%22Blink>CSS%22>
TAG review
None
TAG review status
Not applicable
Risks
Interoperability and Compatibility
None
/Gecko/: No signal
(https://github.com/mozilla/standards-positions/issues/1252)
/WebKit/: Shipped/Shipping
/Web developers/: Strongly positive Verbal confirmation from multiple
developers that they really need it
/Other signals/:
WebView application risks
Does this intent deprecate or change behavior of existing APIs, such
that it has potentially high risk for Android WebView-based applications?
None
Debuggability
None
Will this feature be supported on all six Blink platforms
(Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes
Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?
Yes
https://wpt.fyi/css/css-values/getComputedStyle-calc-mixed-units-003.html
Do you have plans to add more tests here? There's a number of types that
aren't tested, and no coverage of infinities, NaN, or signed zeroes.
Flag name on about://flags
CSSTypedArithmetic
Finch feature name
None
Non-finch justification
None
Rollout plan
Will ship enabled for all users
Requires code in //chrome?
False
Tracking bug
https://issues.chromium.org/issues/40768696
Estimated milestones
DevTrial on desktop 138
DevTrial on Android 138
Anticipated spec changes
Open questions about a feature may be a source of future web compat or
interop issues. Please list open issues (e.g. links to known github
issues in the project for the feature specification) whose resolution
may introduce web compat/interop risk (e.g., changing to naming or
structure of the API in a non-backward-compatible way).
None
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/4740780497043456?gate=5654265095520256
This intent message was generated by Chrome Platform Status
<https://chromestatus.com>.
--
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 visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/68500a51.170a0220.aedbe.0618.GAE%40google.com
<https://groups.google.com/a/chromium.org/d/msgid/blink-dev/68500a51.170a0220.aedbe.0618.GAE%40google.com?utm_medium=email&utm_source=footer>.
--
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 visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/b09fabc2-e098-4f5b-b041-afd22861607c%40chromium.org.