- From: Cameron McCormack <cam@mcc.id.au>
- Date: Wed, 23 May 2007 13:32:19 +1000
- To: public-webapi@w3.org
Jonas Sicking:
> In any case, using element traversal you can decently easy check if
> content is skipped so that you can indicate an error, simply check if
> myElem.nextElementSibling != myElem.nextSibling
|| myElement.nextSibling.isElementContentWhitespace
which is I think what Ray was after. But I agree, having
ElementTraversal always ignore Text nodes will be more useful than
defining .{next,previous}ElementOrUsefulTextSibling methods.
--
Cameron McCormack, http://mcc.id.au/
xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
Received on Wednesday, 23 May 2007 03:32:31 UTC