- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Jul 2021 16:44:12 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Does definite flex-basis always cause main size definite?`. <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: Does definite flex-basis always cause main size definite?<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/4311<br> <fantasai> TabAtkins: There's an example in the issue<br> <fantasai> TabAtkins: Column flexbox with a flexible child<br> <fantasai> TabAtkins: child has a definite height, but it is flexible so can become larger or smaller<br> <fantasai> TabAtkins: Flex item has a child with a percentage height<br> <TabAtkins> my phone hung up, one sec<br> <TabAtkins> OKAY I CAN'T MAKE A CALL ANY MORE<br> <TabAtkins> welp<br> <fantasai> fantasai: Spec says this case is indefinite, and percentage won't resolve<br> <fantasai> fantasai: But implementations do resolve<br> <fantasai> fantasai: so should we change the spec to match implementations?<br> <fantasai> iank_: I think all of the implementations are following the spec here<br> <fantasai> iank_: in that they are not resolving ...<br> <fantasai> cbiesinger: Not true<br> <fantasai> cbiesinger: Testcase is red, which means it is resolving<br> <fantasai> cbiesinger: Interesting thing here is that the percentage would resolve outside a flexbox<br> <fantasai> cbiesinger: it doesn't resolve if you put it inside the flexbox (per spec)<br> <fantasai> cbiesinger: I doubt authors expect that<br> <fantasai> fantasai: Originaly definiteness was identifying cases where percentages are very simple to calculate<br> <fantasai> fantasai: and we restricted percentage resolution to these cases<br> <fantasai> fantasai: but authors would be happier to resolve more often<br> <fantasai> fantasai: so if implementers are already doing it, might as well match the spec<br> <fantasai> iank_: this seems fine to me<br> <fantasai> fantasai: does mean that concept of definiteness is more complicated<br> <fantasai> cbiesinger: Want to mention, in Chrome we only take into account the width/height property, not the flex-basis. But that's probably a Chrome bug<br> <fantasai> Rossen_: Do we know if this is safe to change?<br> <jensimmons> q+<br> <fantasai> fantasai: Planning to match spec to implementations, so shouldn't have any concerns<br> <dholbert> q+<br> <Rossen_> ack jensimmons<br> <fantasai> jensimmons: Seems folks doing a good job of raising flex bugs and addressing them<br> <fantasai> jensimmons: Would love to ask if filing bugs against WebKit as well, seems our implementation is same as Chrome<br> <fantasai> iank_: No bug required here, spec is aligning ot implementations<br> <fantasai> jensimmons: on this issue, but not last one<br> <fantasai> cbiesinger: should be a wpt test also<br> <fantasai> Rossen_: WPT tests should raise to webkit<br> <jensimmons> no<br> <Rossen_> ack jensimmons<br> <Rossen_> ack dholbert<br> <fantasai> dholbert: Wanted to clarify what the proposed change is here. Are we making the spec match implementations in this case?<br> <cbiesinger> I think change is: definite flex-basis makes the size definite, even if the item is flexible<br> <fantasai> dholbert: I think that doesn't match what we do<br> <fantasai> dholbert: It might be that this case is triggering a more subtle situation<br> <fantasai> fantasai: That's interesting, we should investigate<br> <fantasai> dholbert: I think intent of our behavior is to match the spec<br> <fantasai> dholbert: We do check if flex item is flexible when testing for flexible flex-basis, to see if we want to make item definite<br> <fantasai> cbiesinger: I feel like you and I had a discussion about this years ago and you were going to match our behavior<br> <fantasai> dholbert: We fixed a number of bugs in last 6 months also<br> <fantasai> dholbert: so maybe previously did something more esoteric<br> <fantasai> fantasai, rossen: maybe need to go back to GH to figure out<br> <Rossen_> q?<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-884334170 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 21 July 2021 16:44:13 UTC