Re: [csswg-drafts] [css-grid] Should grid-template-areas accept empty strings? (#5110)

The CSS Working Group just discussed `[css-grid] Should grid-template-areas accept empty strings?`, and agreed to the following:

* `RESOLVED: grid-template-areas should not accept empty strings`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-grid] Should grid-template-areas accept empty strings?<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/5110<br>
&lt;dael> TabAtkins: Oriol raised issue that tech spec does not disallow empty strings in grid-template-areas<br>
&lt;dael> TabAtkins: No reason to do it either way but no one wants to put empty string in. Both Chrome and Edge consider it to be invalid<br>
&lt;dael> TabAtkins: As long as no objections we're going to say we require one cell to be expressed or it's invalid<br>
&lt;dael> Rossen_: Other opinions?<br>
&lt;dael> plinss: Req at least one cell with a name?<br>
&lt;dael> TabAtkins: A cell. It can be empty.<br>
&lt;dael> plinss: If you define an area with empty string for name what does it mean?<br>
&lt;dael> TabAtkins: It's got a track but no alignment<br>
&lt;dael> plinss: Same as dot?<br>
&lt;dael> florian: [missed] parser<br>
&lt;dael> TabAtkins: We don't give strings per cell name. String is name of all cells in row<br>
&lt;dael> plinss: Right<br>
&lt;florian> s/[missed] parser/no, empty string would be parse error/<br>
&lt;dael> oriol: Difference between empty stirng and string with dot is it forces it to have spec number of column and rows. If allow empty strings grid would force 5 rows and no column<br>
&lt;dael> oriol: Strings with dots you could have 1 column. That's difference<br>
&lt;dael> TabAtkins: Given no use case for rows with 0 columns and it doesn't go the other way around I'm inclined to call invalid matching Chrome and Edge<br>
&lt;dael> florian: Doesn't seem to be a use case to allow. It's a weird error and we can align on the market share of browsers<br>
&lt;dael> Rossen_: I can see it spit out by preprocessors or tools. Having spec is good<br>
&lt;dael> Rossen_: I don't hear obj or pushback.<br>
&lt;dael> Rossen_: Other questions or reasons why we shouldn't?<br>
&lt;florian> s/on the market share of browsers/, the market share of browsers who do this already prove it's possible/<br>
&lt;dael> dholbert: Sounds fine to me/Mozilla<br>
&lt;dael> RESOLVED: grid-template-areas should not accept empty strings<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5110#issuecomment-658870547 using your GitHub account

Received on Wednesday, 15 July 2020 16:37:42 UTC