On Fri, Sep 6, 2013 at 4:22 AM, Anne van Kesteren <[email protected]> wrote:
> On Fri, Sep 6, 2013 at 2:50 AM, Boris Zbarsky <[email protected]> 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

Reply via email to