Skip to content

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

Open
SebastianZ wants to merge 2 commits intow3c:mainfrom
SebastianZ:generalize-fr-unit
Open

[css-typed-om] Renamed 'flex' base type to 'fraction'#1119
SebastianZ wants to merge 2 commits intow3c:mainfrom
SebastianZ:generalize-fr-unit

Conversation

@SebastianZ
Copy link
Copy Markdown
Contributor

The <flex> data type got generalized and moved to CSS Values 5 and renamed to <fraction> in w3c/csswg-drafts#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

 The <flex> data type got moved to CSS Values 5 and renamed to <fraction>.
 So this adjustment also needed to be done in CSS Typed OM.
@FremyCompany
Copy link
Copy Markdown
Contributor

Did this ship anywhere yet?

@SebastianZ
Copy link
Copy Markdown
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants