This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
topics:flex-initial-value [2012/06/23 02:01] – NxeovAxzwqdnFFBxIxV 188.143.232.12 | topics:flex-initial-value [2014/12/09 15:48] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | would recommend it, but I think it' | + | ====== initial values of flex ====== |
+ | |||
+ | ---- dataentry | ||
+ | Spec_tags | ||
+ | Owner_tags | ||
+ | Status_tags | ||
+ | Added_dt | ||
+ | Action | ||
+ | Issue_urls | ||
+ | Proposal_urls : http:// | ||
+ | Agenda_urls | ||
+ | ---- | ||
+ | |||
+ | === Background === | ||
+ | |||
+ | There' | ||
+ | |||
+ | === Problem Statement === | ||
+ | |||
+ | What are the best initial values for flex? | ||
+ | |||
+ | === Proposal(s) === | ||
+ | |||
+ | == Proposal A: ''flex: none'' | ||
+ | |||
+ | * Pros | ||
+ | * It's easier to use alignment and auto margins | ||
+ | * Easier for use cases that want some but not most items flexible, e.g. one item takes up all free space | ||
+ | * Cons | ||
+ | * Doesn't have negative flexibility be default, which could help prevent overflow | ||
+ | * Inconsistent with ' | ||
+ | |||
+ | == Proposal B: '' | ||
+ | |||
+ | * Pros | ||
+ | * Negative flex is on by default, preventing overflow in many cases | ||
+ | * Consistent with ' | ||
+ | * Cons | ||
+ | * Harder to use alignment | ||
+ | * More work for use cases that want most items inflexible | ||
+ | |||
+ | == Proposal C: ''flex: 0 1 auto'' | ||
+ | |||
+ | * Pros | ||
+ | * Negative flex is on by default, preventing overflow in many cases | ||
+ | * Easy to use alignment | ||
+ | * Easy for use cases where free space is distributed | ||
+ | * Cons | ||
+ | * Inconsistent with ' | ||
+ | |||
+ | === Resolution === | ||
+ | |||
+ | The WG resolved on Proposal C. |