Re: [csswg-drafts] [css-values] String concatentation (#542)

Was the introduction of new syntax already considered for this? Many languages use an operator for string concatination like `+` or `&`. Would that be possible for CSS? I mean something like

```js
"string1" + 1.0 + "string2"
```

Note that this is independent of the discussion about automatic type conversion. A function could still be required for converting different types into a string, i.e.

```js
"string1" + string(1.0) + "string2"
```

Sebastian

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 30 October 2020 19:02:42 UTC