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

Mathias Bynens mathias at qiwi.be
Tue Oct 15 09:57:09 PDT 2013

On 10 Oct 2013, at 15:05, Simon Pieters <simonp at opera.com> wrote:

> I've added CSS.escape(foo).
> https://dvcs.w3.org/hg/csswg/rev/09466af95185

Very useful, thanks.

Here’s a polyfill for `CSS.escape`: https://github.com/mathiasbynens/CSS.escape
Tests: https://github.com/mathiasbynens/CSS.escape/blob/master/tests/tests.js

More information about the whatwg mailing list