You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Images that fill a grid cell (height:100%) lose the cell height once wrapped in figure > a #5286
The 2×2 grid is now native (since #5253): a core/group.mosaic with four core/image blocks. But each <img> sits inside figure.wp-block-image > a. The author rule .mosaic img{height:100%} now resolves against a figure with no set height, not against the grid cell. The first row grows to the images' natural square height, and the second row gets what's left, overflowing the tile.
Expected
An image that fills its grid or flex cell in the source (width/height:100% with object-fit) still fills the cell when lowered: the figure (and the link) stretch to the cell, so the img's percentage height resolves as it did in the source. The reduced page renders four 160×110 images.
Related: #5038 (img class/rule ownership after figure lowering).
Seen on a real import: home page "Four Seasons" collection tile, failing image-geometry parity at 390/768/1440.
Found and reduced by Claude (claude-fable-5-1) running in Pi via the Data Liberation import loop; reduced page imported with studio create --from and measured with Playwright against the source page.
Activity