- From: Cameron McCormack <cam@mcc.id.au>
- Date: Tue, 24 May 2011 10:59:51 +1200
- To: Ms2ger <ms2ger@gmail.com>
- Cc: "www-dom@w3.org" <www-dom@w3.org>
Ms2ger: > As Cameron has made objects non-nullable by default [1], I've > updated DOM Core accordingly. [2] I probably got some changes wrong, > and would appreciate review of this change. The detail argument of CustomEvent.initCustomEvent() should be “object?”. I’m assuming that EventTarget.{add,remove}EventListener need to do nothing when passed null for their EventListener because existing content assumes it? If not, I’d say it doesn’t make sense to allow null to be passed, and make the type “EventListener”. The doctype argument to DOMImplementation.createDocument() should be “DocumentType?”. Looks good otherwise. -- Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 23 May 2011 23:00:21 UTC