-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-grid-3][masonry] Discussion overview for masonry syntax discussions #11593
Comments
We also haven't converged on the potential difference in the default value for |
The CSS Working Group just discussed The full IRC log of that discussion<bramus> fantasai: tab and i divided the discussion in 4 separate pieces<bramus> … suggestign to talk abou twhether to use masonry-template or to reuse grid props for placement and declaring tracks <bramus> … 2nd about directional flow control props <bramus> … feedback from tag was to come up with unified syntax <bramus> … 3rd on how to trigger a masonry layout specifically <bramus> … new display value for new collapse value in grid-template values and new proposal about unified flow control props <bramus> … and 4th to introduce any shorthands for masonry or integrate with grid shorthand or both <bramus> … that is the overview <bramus> … most complicated will be 2nd one <bramus> … jen has prepared a slide deck with illustrations to help with that <bramus> astearns: alison you added sth to 1st part? <bramus> alisonmaher: could be combined with 1st. plan eon talk about repeat-auto-fille auto and that it should be default or not <bramus> fantasai: gonna insert that before the template topic <bramus> … its a bit more complicated <bramus> astearns: any comments so far? |
This is just a summarizing/guiding issue for the Grid 3/Masonry/Flexbox syntax, outlining the goals for the discussion and the rough priority @fantasai and I are assigning to them:
Roughly, the discussion covers four groupings of properties:
display
value, ordisplay:grid
+ some toggleHere's the issues in more detail:
Should "masonry layout" use its own set of template definition properties (
masonry-template-tracks
,masonry-template-areas
) or just reuse thegrid-*
ones (grid-template-rows
/grid-template-columns
,grid-template-areas
, ignoring whichever of-rows
/-columns
is in the wrong axis). [css-grid-3][masonry] Masonry Syntax Debate #11243grid-template-areas
is well-suited for Grid with its syntax of multiple strings, and assuming they'll be formatted across multiple lines to form "ASCII art" of the Grid areas. Masonry only ever has one dimension to name, tho, which results ingrid-template-areas: "foo bar baz"
for columns andgrid-template-areas: "foo" "bar" "baz"
for rows.Should we adopt the
item-*
set of properties unifying the non-template parts of Flexbox/Grid/Masonry definition? If so, which one? [css-flexbox][css-grid] Unifying grid-auto-flow and flex-flow #11480masonry-*
properties from Grid 3's "grid-independent" proposal? (I'm on record as being willing to Formally Object to the "grid-integrated" property set.)Should "masonry layout" be its own
display
keyword, or just usegrid
+ a control that toggles the grid into "masonry mode"? [css-grid-3][masonry] Masonry Syntax Debate #11243grid-template-*
properties withdisplay: masonry
.display:grid
+ a toggle:item-*
properties, it'll be part ofitem-pack
, which also controls denseness and balancing.item-*
and instead havemasonry-*
properties, it'll be part ofmasonry-flow
, which also controls the masonry directions.The
grid
/grid-template
shorthands, as written, doesn't work for "masonry layout", and we can design a much better syntax. Should it just be anothergrid
syntax branch? Or should it be its ownmasonry
shorthand property? [css-grid-3][masonry] Masonry Syntax Debate #11243<tracks> || <areas> || <direction> || <cross-direction>
, possibly +|| slack <slack>
, setting all the template properties from item 1 and "other" properties from item 2.grid-template-*
properties, what do we do about thegrid-template
shorthand? (See thegrid-template
bullet point under "Specific Examples" in this comment for the issues with reusinggrid-template
as-is for masonry layout.)The text was updated successfully, but these errors were encountered: