W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

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

From: Simon Pieters <simonp@opera.com>
Date: Thu, 10 Oct 2013 15:05:30 +0200
To: "Boris Zbarsky" <bzbarsky@mit.edu>, "Glenn Maynard" <glenn@zewt.org>
Message-ID: <op.w4qpbgwzidj3kv@simons-macbook-pro.local>
Cc: whatwg <whatwg@lists.whatwg.org>
bcc www-style, context  

On Thu, 10 Oct 2013 13:06:58 +0200, Simon Pieters <simonp@opera.com> wrote:

> So, in cluclusion, it appears that there is *some* demand for this. The  
> common case is escaping as ident. An API to escape as ident could be  
> used for escaping strings, too. In order to not make people think more  
> than just remembering to escape at all, it might be a good idea to just  
> have one API to serve both cases, e.g. CSS.escape(foo).

I've added CSS.escape(foo).


Simon Pieters
Opera Software
Received on Thursday, 10 October 2013 13:06:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:11 UTC