- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Mon, 26 Aug 2024 19:07:45 +0000
- To: public-css-archive@w3.org
bfgeek has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-flexbox-1] Change flex shorthand of flex:1 back to setting a flex-basis of 0%. == https://drafts.csswg.org/css-flexbox-1/#change-2015-flex-basis-zero ``` <!DOCTYPE html> <body style="flex:1"> <script> document.body.innerText = getComputedStyle(document.body).flexBasis; </script> ``` Basically nobody implemented this change when it was made in the spec. ~10 years later all browsers currently set the flex-basis to 0%, instead of 0px. This change won't be web-compatible now, and should be reverted back to setting 0% as the flex-basis. (before my time - reading about this - part of the rationale was to help fix the intrinsic-sizing algorithm, but that also isn't web-compatible). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10782 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 26 August 2024 19:07:46 UTC