- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 01 Apr 2008 16:48:21 -0500
- To: Henri Sivonen <hsivonen@iki.fi>
- CC: "Web APIs WG (public)" <public-webapi@w3.org>
Henri Sivonen wrote: > Yes, getChildNodes() is available on an object implementing Element > after casting it to NodeList or through reflections. OK. So item() would be available on Element after casting it to NodeList in those implementations. I guess you're saying that the cast would not longer be unambiguous if there were multiple NodeLists that might make sense? So childElements couldn't be implemented with a |return this;|? That doesn't seem like such a terrible implementation burden to me, to be honest... -Boris
Received on Tuesday, 1 April 2008 21:49:05 UTC