You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CSS interpolate-size property allows a page to opt in to animations and transitions of CSS intrinsic sizing keywords such as auto, min-content, fit-content, etc. A common use case is to transition between height: 0 and height: auto, for example in accordion components.
:root {
interpolate-size: allow-keywords;
}
Closely related is the new calc-size() function, which allows you to perform calculations on intrinsic size values (not supported by the regular calc() function).
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web features (from the web-features project) which are referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
calc-size()
Feature calc-size()
ID: calc-size
Name: calc-size()
Description: The calc-size() CSS function computes mathematical expressions that include height and width keyword values, for example calc-size(fit-content, size / 2). Not to be confused with the calc() CSS function, which cannot use keyword values.
Description: The interpolate-size CSS property sets whether animations and transitions interpolate between a numeric value and a keyword value, such as from a fixed length to auto or fit-content.
Activity
github-actions commentedon Sep 5, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web features (from the web-features project) which are referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
calc-size()
Feature calc-size()
calc-size()CSS function computes mathematical expressions that includeheightandwidthkeyword values, for examplecalc-size(fit-content, size / 2). Not to be confused with thecalc()CSS function, which cannot use keyword values.calc-size()CSS functioninterpolate-size
Feature interpolate-size
interpolate-sizeCSS property sets whether animations and transitions interpolate between a numeric value and a keyword value, such as from a fixed length toautoorfit-content.interpolate-sizeCSS propertyiankduffy commentedon Oct 8, 2026
Looks like WebKit is implementing this https://bugs.webkit.org/show_bug.cgi?id=274177#c5
phantomxx29474 commentedon Oct 9, 2026
Yes, you're right.
https://webkit.org/blog/18420/release-notes-for-safari-technology-preview-254/