Re: [csswg-drafts] [css-syntax] Trim whitespace around declarations?

> (There shouldn't be any difference between `--foo: ;` and `--foo:;`, but I think there technically is today, as `<declaration-value>` is defined to be a sequence of _one or more_ tokens. I should add a `?`.)
> 
> I'm not intending to make "empty vars" invalid, just to trim the representation of variables. Under this proposal, both of those would report the property's value as an empty string.

@tabatkins the `?` never got added to the definition of `--*` in CSS Variables 1, so `--foo: ;` and `--foo:;` are both invalid per spec currently.  Did you intend to change that?

-- 
GitHub Notification of comment by heycam
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/774#issuecomment-434571254 using your GitHub account

Received on Wednesday, 31 October 2018 06:02:22 UTC