Re: [css-values-4] String concatenation


On Jul 19, 2014, at 3:58 PM, Kornel Lesiński <kornel@geekhood.net> wrote:

> If the use case is to construct URLs,

It's *a* use-case that was brought up. I don't beleive anyone claimed it was *the* use-case.

> then I think it's wrong to frame it as problem of string concatenation. URLs are not just strings: they require proper encoding. String escaping is type- and context-dependent, and authors get it notoriously wrong.

All true. But not in and of itself a reason to not support string concats. You're not prevented from concatenating strings into URLs in other parts of the platform because you might get it wrong, right?

Received on Saturday, 19 July 2014 23:47:20 UTC