Open Bug 1893084 Opened 11 months ago Updated 11 months ago

In masonry "museum" demo, subgrid items aren't being placed at expected positions

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug, )

Details

STR:

  1. In Firefox nightly, visit https://webkit.org/demos/grid3/museum/
  2. Look at the year/catalog-number in the tiles (these are the numbers at the bottom right of each tile)

EXPECTED RESULTS:
They should be at a consistent position (8ch from the right edge of the tile, since they're in a track defined by the last term ofrepeat(auto-fill, minmax(16ch, 1fr) 8ch)

ACTUAL RESULTS:
The first tile in each column has the numbers at the expected position, but the tiles below that have these numbers shifted leftwards for some reason.

Safari Tech Preview gives EXPECTED RESULTS. Firefox Nightly gives ACTUAL RESULTS.

This behavior difference might be related to a spec change that Safari implemented & we haven't yet, which made all of the items (rather than just the first row) be considered for track sizing purposes; or another related spec change perhaps.

You need to log in before you can comment on or make changes to this bug.