W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-flexbox] Conflicting definitions of used cross size of a flex container (#5190)

From: Simon Sapin via GitHub <sysbot+gh@w3.org>
Date: Fri, 12 Jun 2020 13:24:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-643269004-1591968292-sysbot+gh@w3.org>
dbc8f6df5c759a53808c6562c550f6e1d695ef50 solves the conflict, but maybe not in the intended way.

For example, for a block-level column flex container, the cross size is the inline size and https://drafts.csswg.org/css2/visudet.html#blockwidth never uses a content-based size. `width: auto` is resolved as the containing block width minus margins etc.

Instead I think the intended behavior is that an `auto` or otherwise indefinite size is resolved as the sum of flex lines’ cross sizes, then the rest of the rules of the formatting context in which the flex container participates apply. Similar to tables in CSS 2.

-- 
GitHub Notification of comment by SimonSapin
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5190#issuecomment-643269004 using your GitHub account
Received on Friday, 12 June 2020 13:24:55 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:27 UTC