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
Chrome Canary (with my fix for the related bug): the grid-area is applied, it fills the first column
Firefox/Safari: the grid-area is dropped entirely
Since the subgrid is only subgridded in the column direction, what should happen to the grid areas? Do they get dropped? Firefox devtools actually displays the grid area names on the subgrid, but grays them out.
The spec covers partial overlaps in the subgrid for implicit grid lines, but doesn't cover two-dimensional grid-areas when subgridded in one dimension.
Changing grid-template-rows to subgrid on .subgrid makes the subgrid two-dimensional and thus interoperable.
The partial overlap was discussed here: #4411, but this is a bit different, it's mapping of a two-dimensional grid-area when only one dimension is subgridded.
I'm happy to change the behavior in Chromium and add a WPT if Safari and Firefox are correct here, but I'm not positive this is the correct behavior.
The text was updated successfully, but these errors were encountered:
I came across this case while working on a different bug and discovered that Chromium isn't interoperable with Firefox and Safari in this scenario:
https://codepen.io/Kurt-Catti-Schmidt/pen/OPPgzpV
Chrome Canary (with my fix for the related bug): the grid-area is applied, it fills the first column
Firefox/Safari: the grid-area is dropped entirely
Since the subgrid is only subgridded in the column direction, what should happen to the grid areas? Do they get dropped? Firefox devtools actually displays the grid area names on the subgrid, but grays them out.
The spec covers partial overlaps in the subgrid for implicit grid lines, but doesn't cover two-dimensional grid-areas when subgridded in one dimension.
Changing
grid-template-rows
tosubgrid
on.subgrid
makes the subgrid two-dimensional and thus interoperable.The partial overlap was discussed here: #4411, but this is a bit different, it's mapping of a two-dimensional grid-area when only one dimension is subgridded.
I'm happy to change the behavior in Chromium and add a WPT if Safari and Firefox are correct here, but I'm not positive this is the correct behavior.
The text was updated successfully, but these errors were encountered: