Showing content from https://github.com/w3c/csswg-drafts/issues/5110 below:
[css-grid] Should grid-template-areas accept empty strings? · Issue #5110 · w3c/csswg-drafts · GitHub
Skip to content Navigation Menu
Saved searches Use saved searches to filter your results more quickly
Sign up 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 Additional navigation options
[css-grid] Should grid-template-areas accept empty strings? #5110
Description
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,
- There is no trash token.
- All strings have the same number of columns (0).
- There's in no non-rectangular named grid area (since there's no named grid area).
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?
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3