The spec states: "The flex-basis property hereby also gains these new keywords, as its values are defined by reference to <width>" So, will this ship include the `flex-basis` property? See also: https://github.com/browserscore/features/pull/250
在2026年3月24日星期二 UTC+8 20:58:30<Chromestatus> 写道: > *Contact emails* > [email protected] > > *Explainer* > *No information provided* > > *Specification* > https://drafts.csswg.org/css-sizing-3/#funcdef-width-fit-content > > *Summary* > Implements the fit-content(<length-percentage>) value for width, height, > min-width, max-width, min-height, and max-height properties as defined by > the CSS Box Sizing Module Level 3. It resolves as min(max-content, > max(min-content, <length-percentage>)), clamping an element's size between > its min-content and max-content while targeting the specified length or > percentage. This gives developers explicit control over content-based > sizing without relying on the available space, unlike the fit-content > keyword which always uses the stretch size as its target. > > *Blink component* > Blink>CSS > <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3ECSS%22> > > *Web Feature ID* > fit-content-function <https://webstatus.dev/features/fit-content-function> > > *Motivation* > The fit-content keyword exists but always clamps against the available > space. When developers need to clamp an element's size between its > min-content and max-content using a specific length or percentage instead > of the available space, there is no CSS-native way to express this. > > *Initial public proposal* > https://drafts.csswg.org/css-sizing-3/#funcdef-width-fit-content > > *Goals for experimentation* > None > > *Requires code in //chrome?* > False > > *Tracking bug* > https://issues.chromium.org/issues/40847362 > > *Estimated milestones* > > No milestones specified > > > *Link to entry on the Chrome Platform Status* > https://chromestatus.com/feature/5173684820115456?gate=4535388490301440 > > 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 [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/17c89dd1-532f-400d-9bdf-36afe793d83en%40chromium.org.
