[whatwg] DOMTokenList is unordered but yet requires sorting

On Thu, May 14, 2009 at 00:30, Kristof Zelechovski
<giecrilj at stegny.2a.pl> wrote:
> If a token list represented an ordered set, it could not be sorted to get an
> item because the host would have to preserve the original (document) order
> of tokens.

The question is why does the set need to be ordered at all as long as
it is stable between changes? It would make implementations more
efficient with little no no loss in functionality.

-- 
erik

Received on Thursday, 14 May 2009 13:58:20 UTC