Last Comment Bug 1105111 - Implement "flex-basis: content" keyword for flexbox
: Implement "flex-basis: content" keyword for flexbox
Status: NEW
[DevRel:P1]
: dev-doc-needed, DevAdvocacy
Product: Core
Classification: Components
Component: Layout (show other bugs)
: Trunk
: x86_64 Linux
-- normal with 2 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Jet Villegas (:jet)
Mentors:
http://dev.w3.org/csswg/css-flexbox/#...
Depends on: 1032922 1093316
Blocks: flexbox-spec-changes
  Show dependency treegraph
 
Reported: 2014-11-25 18:22 PST by Daniel Holbert [:dholbert] (vacation, returning 2/27)
Modified: 2017-01-24 08:26 PST (History)
11 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description User image Daniel Holbert [:dholbert] (vacation, returning 2/27) 2014-11-25 18:22:50 PST
In the flexbox spec, "flex-basis" now accepts the keyword "content", which "indicates automatic sizing, based on the flex item’s content."

Brief history:
 * originally, "flex-basis:auto" meant "look at my width or height property".
 * Then, flex-basis:auto was changed to mean automatic-sizing, and "main-size" was introduced as the "look at my width or height property" keyword. I implemented this in bug 1032922.
 * Then, that change was reverted (which I'm doing in bug 1093316), so "auto" once again means "look at my width or height property"; and a new 'content' keyword is being introduced to trigger automatic sizing.  (This bug here covers adding that keyword).
Comment 1 User image yiorsi 2015-07-21 20:20:44 PDT
This property is now stable?
Comment 2 User image Daniel Holbert [:dholbert] (vacation, returning 2/27) 2015-07-21 21:19:35 PDT
I'd consider the flex-basis property stable, yes.  (Though we don't implement its "content" keyword yet; that's what this bug covers).

(I don't think the spec authors are planning on adding any more special values for flex-basis, or changing the meaning of existing keywords again, if that's what you're asking.)
Comment 3 User image percyley 2016-02-16 22:52:10 PST
(In reply to Daniel Holbert [:dholbert] (offline 2/18-2/21) from comment #2)
> I'd consider the flex-basis property stable, yes.  (Though we don't
> implement its "content" keyword yet; that's what this bug covers).
> 
> (I don't think the spec authors are planning on adding any more special
> values for flex-basis, or changing the meaning of existing keywords again,
> if that's what you're asking.)

Edge support 'content' keyword.

Note You need to log in before you can comment on or make changes to this bug.