- From: Daniel Holbert via GitHub <sysbot+gh@w3.org>
- Date: Wed, 06 Nov 2024 19:33:59 +0000
- To: public-css-archive@w3.org
@Loirooriol or others: do we know if this spec-change was implemented anywhere? In particular, the part where we should distribute the remaining space *equally* after we've distributed a portion for the fractional-`fr`-units-that-sum-to-less-than-1. That is reflected in the spec at https://drafts.csswg.org/css-grid-2/#algo-spanning-flex-items ("...and the rest equally") but I'm not seeing any browser have that behavior. I wrote a test with `grid-template-columns: 0.1fr 0.3fr;` and with a 100px-wide grid item that spans those two columns, and then I've got "marker" items in the next row to show how wide the columns end up being. https://jsfiddle.net/dholbert/g1qowxrb/ With this spec change, I think the expected result of my testcase would be for the tracks to be `40px 60px`, per the table that @Loirooriol provided in his [comment above](https://github.com/w3c/csswg-drafts/issues/6078#issuecomment-791558329). But Chromium and WebKit currently end up with `25px 75px` which seems to be the old behavior of just distributing proportionally. (Firefox does something else which is also clearly wrong.) -- GitHub Notification of comment by dholbert Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6078#issuecomment-2460612067 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 6 November 2024 19:34:00 UTC