On Tuesday, June 10, 2025 at 7:48:29 PM UTC+2 ikilp...@chromium.org wrote:
The layout modes which should support this are "flex", "grid", "table". Supporting the 3 display values is a long shot, and complex, as you said. My idea was to start this implementation and progressively improve the interoperability in the case of grid with block children, which is the one with more support now. The alternative to improve interoperability would be to unship the last-baseline feature in Firefox and Safari, as you comment later, but I'm not sure at this moment how feasible that approach would be. Worth rising the issue at the CSS WG, as you suggests below as well. So I'd like to ensure we support all the different combinations here, we need to do this before shipping so that @supports works reliably for us. There are three components to this feature: (1) A parent layout mode telling a child that they a baseline alignment context (flex, grid, table). (2) A child layout respecting this baseline alignment request (all layout modes that support a align-content, e.g. block, grid, flex, table, fieldset, multicol, etc). (3) Fallback when a child isn't participating within a baseline alignment context. Detectability for support is important. So if shipping support for this is restricted to certain contexts, you have to make sure, authors can detect where it's supported. In https://github.com/w3c/csswg-drafts/issues/3559#issuecomment-1885332213 it was resolved to add keyword-based feature queries. Therefore, I'd suggest to create an issue there to discuss the addition of such a keyword for this case. And if the CSSWG resolves to add one for it, it needs to be ensured that it ships *before or together with* the implementation of this feature. Sebastian -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/9fca764d-0909-4238-9af6-a4fbb1246937n%40chromium.org.