- From: Adam Roben <aroben@apple.com>
- Date: Mon, 15 Jun 2009 12:25:03 -0400
DOM 3 Core defines the DOMStringList interface [1], which has some similarities to HTML 5's DOMTokenList interface. In fact, DOMStringList basically provides a subset of DOMTokenList's functionality. But there is a mismatch in the names of the DOMTokenList.has and DOMTokenList.contains methods (which seem to have the same purpose). I think DOMTokenList.has should be renamed to DOMTokenList.contains, to match DOMStringList. Perhaps some relationship between these two interfaces should be defined as well (though that would obviously introduce a dependency on DOM 3 Core). -Adam [1] http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#DOMStringList
Received on Monday, 15 June 2009 09:25:03 UTC