Re: [csswg-drafts] [css-tables][css-flexbox] Table flex items with main size less than preferred intrinsic width

The Working Group just discussed `Table flex items with main size less than preferred intrinsic width`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: Table flex items with main size less than preferred intrinsic width<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/2442<br>
&lt;dael> TabAtkins: If you have a table that's flex item the flex sizing algo tells it what size to be but that's can be smaller then the table's min size. What happens? Edge and FF only use table sizing algo. Chrome flexes the table, but I'm not sure if it flexes more then minimum size.<br>
&lt;dael> TabAtkins: fremy says table should flex and overflow to it's min size. I agree.<br>
&lt;dael> astearns: Anyone disagree that tables flexed to smaller then their minimum size should overflow?<br>
&lt;dael> fantasai: It should be a min-size.<br>
&lt;dael> TabAtkins: Does that happen?<br>
&lt;dael> fantasai: We shouldn't be like the flex item is smaller then it actually is. If the table has a min-size it should be reflected in the min size in the algo.<br>
&lt;dael> TabAtkins: If it has a specified size to . Content of 200px but width of 10px. It'll be 200px but we don't go down a path to look at the contents.<br>
&lt;dael> fantasai: THe table has a minimum size that's not reflected in min-size property. Max of specified min size and min size from table layout should be the size.<br>
&lt;dael> TabAtkins: Yes, that makes sense.<br>
&lt;dael> dbaron: And only for auto layout things?<br>
&lt;dael> fantasai: Yes.<br>
&lt;dbaron> s/things/tables/<br>
&lt;dael> Rossen: If width is spec it's still a min-width<br>
&lt;dael> rune_: Flex consideres and explicit width as a min-width?<br>
&lt;dael> TabAtkins: At all times tables cannot shrink below their minimum content<br>
&lt;dael> rune_: Can you put that in the spec somewhere?<br>
&lt;dael> TabAtkins: Sure.<br>
&lt;cbiesinger> s/rune_/cbiesinger/<br>
&lt;dael> TabAtkins: Between flexbox and table spec we'll put this.<br>
&lt;dael> fantasai: Used min-width of a table considers the content of the table and then we make sure flexbox hooks into that.<br>
&lt;dael> astearns: We only want flex algo to key of used min-width for tables.<br>
&lt;dael> fantasai: No reason for it not to in general. We just need to make sure correct terms are in flexbox and that tables has that concept.<br>
&lt;dael> astearns: Used min-width isn't a term?<br>
&lt;dael> fantasai: It is, but we need to make sure tables spec uses it.<br>
&lt;dael> astearns: Used means layout has happened.<br>
&lt;dael> TabAtkins: This is a flex item.<br>
&lt;dael> rune_: You need min-width before you layout flex item.<br>
&lt;dael> TabAtkins: Sure. Tables need to do layout earlier.<br>
&lt;cbiesinger> s/rune_/cbiesinger/<br>
&lt;dael> fantasai: Just calc min-content width.<br>
&lt;dael> astearns: Prop: define what used min width is for tables and to make sure the flex algo uses that.<br>
&lt;dael> astearns: That's the approach we're taking. Let's have you all come up with proposed edits.<br>
&lt;dael> cbiesinger: Anything else have the used min-width?<br>
&lt;dael> fantasai: No. Nothing else has a used min-width that depends on random other information.<br>
&lt;dael> astearns: Anything more on this?<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2442#issuecomment-380111440 using your GitHub account

Received on Tuesday, 10 April 2018 14:06:44 UTC