Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

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