- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 6 Sep 2013 11:54:11 -0700
- To: Anne van Kesteren <annevk@annevk.nl>
- Cc: WHATWG <whatwg@lists.whatwg.org>, Boris Zbarsky <bzbarsky@mit.edu>, Simon Pieters <simonp@opera.com>
On Fri, Sep 6, 2013 at 4:22 AM, 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? Yeah, exposing window.CSS.escapeIdent(DOMString) would make sense. As noted, this is useful for ids, for tag names, and maybe even things like attribute names and values. ~TJ
Received on Friday, 6 September 2013 18:54:57 UTC