[css-grid] Should grid-template-areas accept empty strings? · Issue #5110 · w3c/csswg-drafts (original) (raw)

CSS.supports("grid-template-areas", "") CSS.supports("grid-template-areas", "" "")

They are both true in Firefox and false in Chromium and old Edge. Looking at https://drafts.csswg.org/css-grid/#propdef-grid-template-areas,

So it seems valid per the spec. But also pretty pointless, so possibly it was not deliberate. Given that neither Chromium nor old Edge support that, should we really allow it?