W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css-values-4] String concatenation

From: Sylvain Galineau <galineau@adobe.com>
Date: Sat, 19 Jul 2014 23:46:37 +0000
To: Kornel Lesiński <kornel@geekhood.net>
CC: "<www-style@w3.org>" <www-style@w3.org>
Message-ID: <18E2718D-11D7-42D8-ABF6-03DF2FB90310@adobe.com>

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:44 UTC