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

Those two are exactly equivalent - in the second, the declaration extends until it hits the `}`, so its value is also a single whitespace token in the current spec.

(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.

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

Received on Wednesday, 21 June 2017 16:49:24 UTC