On 4/1/11 4:51 PM, Lachlan Hunt wrote:
[Supplemental] interface Element { Element querySelector(in DOMString selectors, in optional any ... }
This adds another method to Element.prototype
[NoInterfaceObject] interface NodeSelector { Element querySelector(in DOMString selectors, in optional any ... }; Element implements NodeSelector
This adds a new interface called NodeSelector and says that any instance of Element must implement this interface. But it does not add to Element.prototype; the method goes on the mixin prototype object. See http://www.w3.org/TR/WebIDL/#host-object-mixin-prototype
[NoInterfaceObject] just means there is no window.NodeSelector. -Boris