Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-flexbox][css-sizing] Move min-width and min-height partial definitions to css-sizing #1920

Closed
Loirooriol opened this issue Oct 30, 2017 · 2 comments

Comments

@Loirooriol
Copy link
Contributor

CSS Flexbox provides partial definitions of min-height and min-width with the new auto initial value.

This kind of things should not be allowed. How is someone looking for the initial value of these properties supposed to know that it's defined in Flexbox?

So I think these definitions should be moved to wherever makes sense. Probably this would be css-box, but it seems it has been abandoned. So css-sizing seems the best option.

Then css-sizing would define auto as the initial value, and say that it represents the "automatic minimum size" which, unless otherwise defined by the layout model, is 0. CSS Flexbox and CSS Grid should only define this automatic minimum size in their layouts.

@fantasai
Copy link
Collaborator

fantasai commented Nov 5, 2017

Makes sense to me. Agenda+ to get WG approval.

@css-meeting-bot
Copy link
Member

The Working Group just discussed Sizing - moving min-width/height partial dfns to Sizing, and agreed to the following resolutions:

  • RESOLVED: Move definition of the min-width:auto keyword to Sizing.
The full IRC log of that discussion <TabAtkins> Topic: Sizing - moving min-width/height partial dfns to Sizing
<astearns> github: https://github.com//issues/1920
<TabAtkins> fantasai: Oriol pointed out the Flexbox isn't the best place to define a new initial value for min-widht/height.
<TabAtkins> fantasai: Suggested it move to the Sizing spec. Makes sense to me.
<TabAtkins> fantasai: Definition of what automatic size means in Flexbox wills tay, but move the propdef that defines the keyword to Sizing.
<TabAtkins> Rossen: Sounds reasonable.
<TabAtkins> RESOLVED: Move definition of the min-width:auto keyword to Sizing.

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

No branches or pull requests

5 participants