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

On Thu, 10 Oct 2013 17:52:49 +0200, Glenn Adams <> wrote:

>> You'd actually write "CSS.escape", so that's basically the longer,
>> different name. Is that sufficient?
> I don't want to bikeshed over this, but I was thinking of perhaps
> serializeIdent(), or escapeIdent().

The API is intended to be used for escaping CSS strings too. Also, I think  
most Web developers don't think in terms of CSS tokens.

Serialize seems a bit wrong since the input isn't an object.

Simon Pieters
Opera Software

Received on Monday, 14 October 2013 20:39:03 UTC