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
Autoprefixer does not seem to know that it should output -ms-grid-(row|column)-span: 1 when a grid-area assignment (that spans only one row/column) overrides another, less specific one (that spans multiple rows/columns).
Using Autoprefixer 9.7.4 and PostCSS 7.0.27. This issue seems similar to #1146, but that was fixed already, so this one must be different somehow.
This leaves .one and .two with an effective -ms-grid-column-span: 2, which does not match the grid-template.
This also applies to -ms-grid-row-span. Assigning to a grid-area spanning multiple rows, then overriding it with a more specific grid-area assignment that doesn't span multiple rows, will also result in a missing -ms-grid-row-span: 1.
Hi. Thanks for the issue. You really fill it very well.
I will be happy to accept and release PR. Sorry, I do not improve Grid support (since IE is dying). But I can help you. You should start with lib/hacks/grid-template.js.
Autoprefixer does not seem to know that it should output
-ms-grid-(row|column)-span: 1
when agrid-area
assignment (that spans only one row/column) overrides another, less specific one (that spans multiple rows/columns).Using Autoprefixer 9.7.4 and PostCSS 7.0.27. This issue seems similar to #1146, but that was fixed already, so this one must be different somehow.
Here's an example:
Command line
Input
Output
This leaves
.one
and.two
with an effective-ms-grid-column-span: 2
, which does not match thegrid-template
.This also applies to
-ms-grid-row-span
. Assigning to agrid-area
spanning multiple rows, then overriding it with a more specificgrid-area
assignment that doesn't span multiple rows, will also result in a missing-ms-grid-row-span: 1
.Expected output
Workaround
Give the missing
-ms-grid-column-span
explicitly in the input:The text was updated successfully, but these errors were encountered: