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

On 10 Oct 2013, at 15:05, Simon Pieters <simonp@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

Received on Tuesday, 15 October 2013 16:57:36 UTC