- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 29 Jul 2021 22:56:13 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `should definite flex-basis make main size definite?`, and agreed to the following: * `RESOLVED: accept proposal and remove note` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: should definite flex-basis make main size definite?<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/4311<br> <fantasai> dgrogan: Note in 9.8 ...<br> <fantasai> TabAtkins: That note should not be adding any conditions ever<br> <fantasai> dgrogan: Suggestion is to make this note normative and expanding cases where flex item can have a definite size<br> <fantasai> dholbert: This is issue that ?? brought up last meeting<br> <fantasai> dholbert: I wanted to check what Firefox did<br> <fantasai> s/??/biesi/<br> <fantasai> dholbert: I did follow up, and we do agree with the behavior that cbiesinger and dgrogan are proposing<br> <fantasai> TabAtkins: this has nothing to do with the note<br> <fantasai> TabAtkins: This issue is about a flexible flex item with a definite flex basis<br> <fantasai> dgrogan: That note is inaccurate<br> <fantasai> dgrogan: Definition of definite is you don't need to lay out to get its size<br> <fantasai> dgrogan: but many cases here has auto min size<br> <fantasai> dgrogan: If we go with this idea in the spec issue, can just get rid of the note<br> <fantasai> dgrogan: I think we're all on board with the idea behind this<br> <fantasai> dgrogan: do have question about a corner case<br> <dgrogan> https://jsfiddle.net/dgrogan/4r9npf3z/3/<br> <fantasai> dgrogan: the flex basis is 'content', but the height of ??? is definite<br> <fantasai> dholbert: you're talking about 'height: definite'<br> <fantasai> dholbert: In that case height property is ignored.<br> <fantasai> dholbert: only affects flex item if 'flex-basis: auto'<br> <fantasai> dgrogan: Child of the flex item with percentage<br> <fantasai> dgrogan: resolves against containing block<br> <fantasai> dgrogan: "percentage is calculated with respect to the height of the containing block. If not specified explicitly, computes to auto."<br> <fantasai> dgrogan: doesn't trigger behaves as auto clause<br> <fantasai> dgrogan: I suspect this is minor editorial oversight<br> <fantasai> dholbert: This is just CSS2 believing that only 'height' property can affect height<br> <fantasai> dholbert: whereas in flex layout, there's other factors<br> <fantasai> astearns: So additional normative change that cbiesinger suggested, sounds like we're in agreement to spec<br> <fantasai> TabAtkins: we will add 4th condition to definiteness of flex items, that definite flex basis always make correspondign axis of flex item definite<br> <fantasai> TabAtkins: consequently can remove the note<br> <fantasai> astearns: further comments?<br> <fantasai> RESOLVED: accept proposal and remove note<br> <fantasai> <br duration=12m><br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4311#issuecomment-889512146 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 29 July 2021 22:56:15 UTC