Bug 16145 - CSSOM for pos-flex, neg-flex and preferred-size
Summary: CSSOM for pos-flex, neg-flex and preferred-size
Alias: None
Product: CSS
Classification: Unclassified
Component: Flexbox (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P1 normal
Target Milestone: ---
Assignee: Alex Mogilevsky
QA Contact: public-css-bugzilla
Depends on:
Blocks: 16912
  Show dependency treegraph
Reported: 2012-02-28 01:10 UTC by Alex Mogilevsky
Modified: 2012-05-08 19:19 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alex Mogilevsky 2012-02-28 01:10:44 UTC
Currently there are no separate properties for pos-flex, neg-flex or preferred size. If it doesn't change, there needs to be at least CSS OM access to the separate values. Parsing space-separated list is easier than functional notation, but figuring out the used value for preferred size is still far from trivial.
Comment 1 Alex Mogilevsky 2012-03-03 00:25:43 UTC
Proposal: have separate properties for flex components:

flex-positive: <number>
flex-negative: <number>
flex-preferred-size: <length>

This is the most simple and consistent way to address OM problem and I don't see any particular danger in separate cascading being possible, not much different from widtha and min-width being separate...
Comment 2 Alex Mogilevsky 2012-05-08 19:19:49 UTC
flex component propperties are in ED: flex-grow, flex-shrink, flex-basis