W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

[csswg-drafts] [css-syntax-3]: Voluntary Semicolons before newline (#5413)

From: Tim Reichen via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Aug 2020 16:15:02 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-676254760-1597076100-sysbot+gh@w3.org>
timreichen has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-syntax-3]: Voluntary Semicolons before newline ==
Allow semicolon to be voluntary after a ```Declaration``` when followed by newline or block closing.
Examples

let 
```css
div {
  background: red
  color: green
}
```
behave the same as
```css
div {
  background: red;
  color: green;
}
```

link to the spec section:
https://www.w3.org/TR/css-syntax-3/#typedef-semicolon-token

Related links
https://teamtreehouse.com/community/does-the-semicolon-have-to-be-added-after-each-declaration-in-a-rule-or-is-it-optional (2017)

I can imagine that I am not the first one to raise an issue/proposal on that feature. But I could not find any. Links to issues and sources are welcome.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5413 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 August 2020 16:15:05 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC