[whatwg] DOMTokenList methods would be more useful with a space separated token list

Sidetracking whether chaining is a useful API design or not isn't useful.

Choosing some mechanism to add multiple classes at once is useful, whether
that's making add have an arbitary arity, allow it to take an array, allow
it to take a space seperated string or allowing add calls to be chained.

My personal vote is for arity.

Received on Thursday, 3 May 2012 00:45:20 UTC