Implement parsing for masonry using placeholder `display:grid-lanes` / `inline-grid-lanes`
Categories
(Core :: Layout: Grid, enhancement)
Tracking
()
People
(Reporter: dholbert, Assigned: tlouw, NeedInfo)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file)
Spinning this off from bug 1991204 to implement masonry as a display value.
The actual value is TBD - it's currently display:something in the spec :) -- but the existing WPTs use[1] display:masonry and display:inline-masonry, so we should use that (behind a pref, because that's not what will actually ship) to enable the appropriate behavior for those tests.
[1] see e.g. here: https://searchfox.org/firefox-main/source/testing/web-platform/tests/css/css-grid/masonry/tentative/alignment/masonry-align-content-001.html#23
and here: https://searchfox.org/firefox-main/source/testing/web-platform/tests/css/css-grid/masonry/tentative/baseline/masonry-grid-item-content-baseline-001.html#20
| Reporter | ||
Comment 1•2 months ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #0)
the existing WPTs use[1]
display:masonryanddisplay:inline-masonry, so we should use that (behind a pref, because that's not what will actually ship) to enable the appropriate behavior for those tests.
(As noted in the spec "issue 2" box (https://drafts.csswg.org/css-grid-3/#issue-1224e16e ), the discussion about the actual final display value is happening in https://github.com/w3c/csswg-drafts/issues/12022 . But that'll just be a trivial switcheroo once that's settled.)
Comment 2•2 months ago
|
||
For other masonry related properties, I saw in the css-grid-3's recent changes section https://drafts.csswg.org/css-grid-3/#recent-changes
Introduced item-flow and the item-* longhands, replacing masonry-flow and related properties. (Issue 11480)
So it appears that the parsing tests for masonry-flow, etc in https://wpt.fyi/results/css/css-masonry/tentative/parsing?label=master&label=experimental&aligned&q=masonry are out-of-date.
Comment 3•1 month ago
|
||
RESOLVED: masonry switch will be display: grid-lanes
https://github.com/w3c/csswg-drafts/issues/12022#issuecomment-3525043825
| Assignee | ||
Comment 4•1 month ago
|
||
Use the "display: grid-lanes" value to conform to current usage in web
platform tests.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•29 days ago
|
Comment 7•23 hours ago
|
||
Backed out for causing assertion failures @ nsCSSFrameConstructor.cpp
Backout link: https://hg.mozilla.org/integration/autoland/rev/6fb14d9268d3e32063cc78c1c5246980488aec70
Description
•