[whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments
simonp at opera.com
Fri Sep 6 05:20:01 PDT 2013
On Fri, 06 Sep 2013 13:22:34 +0200, Anne van Kesteren <annevk at annevk.nl>
> On Fri, Sep 6, 2013 at 2:50 AM, Boris Zbarsky <bzbarsky at 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:
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?
More information about the whatwg