w3c / css-houdini-drafts

Mirror of https://hg.css-houdini.org/drafts
https://drafts.css-houdini.org/
Other
1.84k stars 141 forks source link

[css-typed-om] Renamed 'flex' base type to 'fraction' #1119

Open SebastianZ opened 11 months ago

SebastianZ commented 11 months ago

The <flex> data type got generalized and moved to CSS Values 5 and renamed to <fraction> in https://github.com/w3c/csswg-drafts/pull/9516.

So this adjustment also needs to be done in CSS Typed OM. (Note that the type was renamed to 'fraction' to better distinguish it from Flexbox, because of the unit being called fr, and due to it getting more use cases outside of flexible grid track widths.)

Sebastian

FremyCompany commented 11 months ago

Did this ship anywhere yet?

SebastianZ commented 11 months ago

Did this ship anywhere yet?

Hm, looks like Chromium and WebKit already support flex. So I guess it is too late to rename the base type to 'fraction'. So I reverted that change. Though I kept the reference to the renamed data type.

Sebastian