- From: Simon Pieters <simonp@opera.com>
- Date: Fri, 06 Sep 2013 14:20:01 +0200
- To: "Boris Zbarsky" <bzbarsky@mit.edu>, "Anne van Kesteren" <annevk@annevk.nl>
- Cc: WHATWG <whatwg@lists.whatwg.org>
On Fri, 06 Sep 2013 13:22:34 +0200, Anne van Kesteren <annevk@annevk.nl> wrote: > On Fri, Sep 6, 2013 at 2:50 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote: >> In that case I think we need to add a function to the platform that >> CSS-escapes a string. > > Maybe a thing for window.CSS? Simon? > > Such a function already exists in the wild btw: > http://mothereff.in/css-escapes So the use case is getting an element by id with an "untrusted" id as input, in an element or document fragment as opposed to the document? -- Simon Pieters Opera Software
Received on Friday, 6 September 2013 12:13:36 UTC