bcc www-style, context
http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Oct/0075.html
On Thu, 10 Oct 2013 13:06:58 +0200, Simon Pieters <[email protected]> wrote:
So, in cluclusion, it appears that there is *some* demand for this. The
common case is escaping as ident. An API to escape as ident could be
used for escaping strings, too. In order to not make people think more
than just remembering to escape at all, it might be a good idea to just
have one API to serve both cases, e.g. CSS.escape(foo).
I've added CSS.escape(foo).
https://dvcs.w3.org/hg/csswg/rev/09466af95185
--
Simon Pieters
Opera Software