[w3ctag/design-reviews] CSS Masonry Layout (Issue #1003)

こんにちは TAG-さん!

I'm requesting an early TAG design review of masonry layout in CSS.

Masonry layout creates grid-based tracks in a single axis, and stacks items tightly in the other, creating rows or columns but not both. It is currently drafted into https://www.w3.org/TR/css-grid-3/ with two possible syntax options: a grid-based syntax that uses a keyword to relax alignment in the stacking axis, and an independent syntax that uses a blend of flex and grid concepts with a new set of properties. The arguments in the debate center over a) which is easier to learn for authors and b) how might this decision impact possible future developments in one or both models (or CSS in general).

I'm opening this issue to ask the TAG to schedule a review of the spec in general and of the syntax question specifically. We are currently collecting feedback, and are hoping to have a CSSWG discussion on this question in late October / early November. We will update this issue as input comes in.

  - Explainer¹: See [spec introduction](https://www.w3.org/TR/css-grid-3/#intro) for a basic intro and [Jen's blog post](https://webkit.org/blog/15269/help-us-invent-masonry-layouts-for-css-grid-level-3/) for more extensive examples
  - User research: See other links.
  - Security and Privacy self-review²: Nothing interesting to report
  - GitHub repo: [CSSWG repo](https://github.com/w3c/csswg-drafts/issues?q=is%3Aopen+is%3Aissue+label%3A%22topic%3A+masonry%22)
  - Primary contacts:
      - Elika J Etemad (@fantasai), Apple, editor
      - Tab Atkins-Bittner (@tabatkins), Google, editor
  - Organization/project driving the design: Mozilla, Apple, Google
  - Multi-stakeholder feedback³:
    - Chromium comments: Positive in general; started implementation. See also:
        - [Proposal for alternative model](https://github.com/w3c/csswg-drafts/issues/9041) and in particular [this comment from Tab](https://github.com/w3c/csswg-drafts/issues/9041#issuecomment-2075501616)
        - https://developer.chrome.com/blog/masonry-syntax
    - Mozilla comments: Positive in general; prototyped initial draft. No position posted yet (afaik) on the open syntax debate, but they proposed the original grid-based syntax in 2020.
    - WebKit comments: Positive in general; usable experimental implementation in progress. Comments on syntax expected to be forthcoming.
    - Developer/designer comments: See comments in https://github.com/w3c/csswg-drafts/issues/10233 ; https://github.com/w3c/csswg-drafts/issues/9041 ; note there's some bias in where authors posted comments, since one was linked from the WebKit post and the other from the Chrome team post.

Further details:

  - [ ] I have reviewed the TAG's [Web Platform Design Principles](https://www.w3.org/TR/design-principles/)
  - The group where the incubation/design work on this is being done (or is intended to be done in the future): **CSSWG**
  - The group where standardization of this work is intended to be done ("unknown" if not known): **CSSWG**
  - Existing major pieces of multi-implementer review or discussion of this design:
      - **[Index of individual issues grouped under Chrome's uber-issue](https://github.com/w3c/csswg-drafts/issues/9041#issuecomment-1710838816)**
      - **[CSSWG resolution adopting mixed track sizing](https://github.com/w3c/csswg-drafts/issues/10266#issuecomment-2334880328)**
  - Major unresolved issues with or opposition to this design:  **Syntax and direction of future development being integrated with, or segregated from, [CSS Grid Layout](https://www.w3.org/TR/css-grid/).**
  - This work is being funded by: **Mozilla, Apple, Google**.

You should also know that...
- Some of the key arguments in the early syntax debate were resolved by the above-linked resolution to adopt mixed track sizing under both options, so if you're doing archaeology keep that in mind.
- We're hoping to schedule CSSWG discussion of the syntax and overall direction of this module in 2-4 weeks or so. Let us know how we can accommodate the TAG.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1003
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1003@github.com>

Received on Monday, 14 October 2024 01:41:54 UTC